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-08-20 17:20:28 +01:00
2005-09-09 13:57:27 -07:00
2005-08-19 18:08:21 -07:00
2005-09-09 13:57:31 -07:00
2005-08-19 18:08:21 -07:00
2005-08-20 13:20:01 -07:00
2005-09-09 13:57:32 -07:00
2005-09-07 16:57:46 -07:00
2005-09-07 16:57:33 -07:00
2005-08-19 18:08:21 -07:00
2005-09-05 00:05:52 -07:00
2005-09-09 13:57:27 -07:00
2005-09-09 13:57:28 -07:00
2005-09-09 13:57:27 -07:00
2005-09-07 16:57:46 -07:00
2005-09-07 16:57:50 -07:00
2005-09-07 16:57:56 -07:00
2005-09-09 13:57:27 -07:00
2005-09-09 13:57:27 -07:00
2005-08-26 11:39:19 -07:00
2005-08-06 09:42:06 -07:00
2005-09-07 16:57:57 -07:00
2005-09-09 13:57:27 -07:00
2005-09-07 16:57:29 -07:00
2005-09-09 13:57:27 -07:00
2005-09-09 13:57:27 -07:00
2005-09-09 13:57:27 -07:00
2005-09-09 13:57:27 -07:00
2005-08-16 08:52:11 -07:00
2005-09-07 16:57:25 -07:00
2005-09-08 23:01:16 +01:00
2005-09-09 13:57:27 -07:00
2005-09-09 13:57:27 -07:00
2005-09-09 13:57:27 -07:00
2005-09-07 16:57:18 -07:00
2005-09-09 13:57:27 -07:00
2005-08-26 19:37:13 -07:00
2005-09-09 13:57:27 -07:00
2005-09-09 13:57:27 -07:00
2005-09-09 13:57:27 -07:00
2005-09-09 11:38:09 +10:00
2005-09-05 00:06:21 -07:00
2005-09-02 00:57:31 -07:00
2005-09-09 10:31:58 -07:00
2005-09-07 16:57:55 -07:00
2005-09-07 16:57:43 -07:00
2005-08-08 11:53:47 -07:00
2005-09-07 16:57:32 -07:00
2005-09-09 13:57:26 -07:00
2005-09-07 16:57:39 -07:00
2005-08-20 18:51:29 -07:00
2005-09-07 16:57:29 -07:00
2005-09-07 16:57:18 -07:00
2005-09-09 13:57:28 -07:00
2005-09-07 16:58:01 -07:00
2005-09-07 16:57:43 -07:00
2005-09-07 16:57:35 -07:00
2005-09-07 16:57:32 -07:00
2005-09-07 16:57:27 -07:00