[PATCH] f_count may wrap around
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 26 Jul 2008 04:39:17 +0000 (00:39 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 27 Jul 2008 00:53:40 +0000 (20:53 -0400)
commit516e0cc5646f377ab80fcc2ee639892eccb99853
treee06296dcedb42dbe397d237887873e70c5823d51
parent3c333937ee3be114b181c4861188cfe8f6a59697
[PATCH] f_count may wrap around

make it atomic_long_t; while we are at it, get rid of useless checks in affs,
hfs and hpfs - ->open() always has it equal to 1, ->release() - to 0.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/net/ppp_generic.c
fs/affs/file.c
fs/aio.c
fs/file_table.c
fs/hfs/inode.c
fs/hfsplus/inode.c
include/linux/fs.h
include/net/af_unix.h
net/sched/sch_atm.c
net/unix/af_unix.c
net/unix/garbage.c