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-08 22:46:00 +01:00
2005-09-06 15:10:46 -07:00
2005-09-07 16:57:25 -07:00
2005-09-07 16:57:21 -07:00
2005-09-09 13:57:32 -07:00
2005-09-07 17:31:27 -07:00
2005-09-07 16:57:19 -07:00
2005-09-07 16:57:40 -07:00
2005-09-08 14:41:27 -07:00
2005-09-07 16:57:41 -07:00
2005-09-07 16:57:44 -07:00
2005-09-07 16:57:21 -07:00
2005-09-07 16:57:23 -07:00
2005-09-07 16:57:23 -07:00
2005-09-07 16:57:26 -07:00
2005-09-07 16:57:55 -07:00
2005-09-07 16:57:17 -07:00
2005-09-07 16:57:40 -07:00
2005-09-05 09:14:23 -07:00
2005-09-05 09:14:33 -07:00
2005-09-05 09:14:31 -07:00
2005-09-05 09:26:56 -07:00
2005-09-08 10:19:03 +09:00
2005-09-07 16:57:39 -07:00
2005-09-07 16:57:54 -07:00
2005-09-07 16:57:20 -07:00
2005-09-07 16:57:48 -07:00
2005-09-08 10:19:03 +09:00
2005-09-07 16:57:29 -07:00
2005-09-07 16:57:34 -07:00
2005-09-07 16:57:19 -07:00
2005-09-07 18:26:54 -07:00
2005-09-07 16:57:59 -07:00
2005-09-07 16:57:59 -07:00
2005-09-08 14:57:23 -07:00
2005-09-07 16:57:26 -07:00
2005-09-06 22:17:49 -04:00
2005-09-08 14:57:24 -07:00
2005-09-08 15:07:08 -07:00
2005-09-07 16:57:24 -07:00
2005-09-07 16:57:25 -07:00
2005-09-07 16:57:43 -07:00
2005-09-07 16:57:18 -07:00
2005-09-09 13:57:31 -07:00
2005-09-09 13:57:28 -07:00
2005-09-07 16:57:26 -07:00
2005-09-08 16:04:41 +01:00
2005-09-08 14:47:12 -07:00
2005-09-08 12:32:03 -07:00
2005-09-07 16:57:45 -07:00
2005-09-07 16:57:24 -07:00
2005-09-07 16:57:49 -07:00
2005-09-07 16:57:30 -07:00
2005-09-07 16:57:34 -07:00
2005-09-07 16:57:40 -07:00
2005-09-08 16:22:48 -07:00
2005-09-08 16:23:04 -07:00
2005-09-07 00:27:54 -04:00