[PATCH] fix reservation discarding in affs
authorRoman Zippel <zippel@linux-m68k.org>
Tue, 29 Apr 2008 15:02:20 +0000 (17:02 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 6 May 2008 17:45:33 +0000 (13:45 -0400)
commitdca3c33652e437ed02c30ed3eca3cecd0cc00838
tree590db1cd28a19c85532ba8ec8abf5eeb70f993ea
parenta15306365a16380f3bafee9e181ba01231d4acd7
[PATCH] fix reservation discarding in affs

- remove affs_put_inode, so preallocations aren't discared unnecessarily
  often.
- remove affs_drop_inode, it's called with a spinlock held, so it can't
  use a mutex.
- make i_opencnt atomic
- avoid direct b_count manipulations
- a few allocation failure fixes, so that these are more gracefully
  handled now.
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/affs/affs.h
fs/affs/file.c
fs/affs/inode.c
fs/affs/namei.c
fs/affs/super.c