Andrew Stribblehill
fac92becda
[PATCH] bfs: fix endianness, signedness; add trivial bugfix
...
* Makes BFS code endianness-clean.
* Fixes some signedness warnings.
* Fixes a problem in fs/bfs/inode.c:164 where inodes not synced to disk
don't get fully marked as clean. Here's how to reproduce it:
# mount -o loop -t bfs /bfs.img /mnt
# df -i /mnt
Filesystem Inodes IUsed IFree IUse% Mounted on
/bfs.img 48 1 47 3% /mnt
# df -k /mnt
Filesystem 1K-blocks Used Available Use% Mounted on
/bfs.img 512 5 508 1% /mnt
# cp 60k-archive.zip /mnt/mt.zip
# df -k /mnt
Filesystem 1K-blocks Used Available Use% Mounted on
/bfs.img 512 65 447 13% /mnt
# df -i /mnt
Filesystem Inodes IUsed IFree IUse% Mounted on
/bfs.img 48 2 46 5% /mnt
# rm /mnt/mt.zip
# echo $?
0
[If the unlink happens before the buffers flush, the following happens:]
# df -i /mnt
Filesystem Inodes IUsed IFree IUse% Mounted on
/bfs.img 48 2 46 5% /mnt
# df -k /mnt
Filesystem 1K-blocks Used Available Use% Mounted on
/bfs.img 512 65 447 13% /mnt
fs/bfs/bfs.h | 1
Signed-off-by: Andrew Stribblehill <ads@wompom.org>
Cc: <tigran@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-09 13:57:32 -07:00
..
2005-09-03 00:15:11 -04:00
2005-09-08 14:57:25 -07:00
2005-09-08 15:55:23 -07:00
2005-09-07 16:57:38 -07:00
2005-09-07 16:57:38 -07:00
2005-09-07 16:57:38 -07:00
2005-09-08 14:57:25 -07:00
2005-09-07 16:57:38 -07:00
2005-09-09 13:56:44 -07:00
2005-09-09 13:57:31 -07:00
2005-09-07 16:57:38 -07:00
2005-09-07 16:57:38 -07:00
2005-09-08 17:27:37 -07:00
2005-09-09 13:57:30 -07:00
2005-09-08 14:57:25 -07:00
2005-09-09 22:11:35 +10:00
2005-09-09 13:57:29 -07:00
2005-09-09 10:38:02 -07:00
2005-09-07 16:57:38 -07:00
2005-09-07 16:57:38 -07:00
2005-09-07 16:57:38 -07:00
2005-09-07 16:57:38 -07:00
2005-09-08 15:55:23 -07:00
2005-09-07 16:57:30 -07:00
2005-09-07 16:57:38 -07:00
2005-09-08 01:45:47 -04:00
2005-09-07 16:57:38 -07:00
2005-09-09 13:57:32 -07:00
2005-09-05 09:14:32 -07:00
2005-09-08 13:40:41 -07:00
2005-07-12 16:00:59 -07:00
2005-08-26 20:37:38 -07:00
2005-09-06 17:52:54 -05:00
2005-09-07 17:28:25 -07:00
2005-09-07 16:57:53 -07:00