[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>
Showing
- drivers/net/ppp_generic.c 3 additions, 3 deletionsdrivers/net/ppp_generic.c
- fs/affs/file.c 0 additions, 4 deletionsfs/affs/file.c
- fs/aio.c 3 additions, 3 deletionsfs/aio.c
- fs/file_table.c 5 additions, 5 deletionsfs/file_table.c
- fs/hfs/inode.c 0 additions, 4 deletionsfs/hfs/inode.c
- fs/hfsplus/inode.c 0 additions, 4 deletionsfs/hfsplus/inode.c
- include/linux/fs.h 3 additions, 3 deletionsinclude/linux/fs.h
- include/net/af_unix.h 1 addition, 1 deletioninclude/net/af_unix.h
- net/sched/sch_atm.c 2 additions, 2 deletionsnet/sched/sch_atm.c
- net/unix/af_unix.c 1 addition, 1 deletionnet/unix/af_unix.c
- net/unix/garbage.c 9 additions, 9 deletionsnet/unix/garbage.c
Loading
Please register or sign in to comment