aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorOGAWA Hirofumi <[email protected]>2009-08-06 15:07:39 -0700
committerLinus Torvalds <[email protected]>2009-08-07 10:39:56 -0700
commit2d8dd38a5aa0cc2490bbad9b75e77fa154e1d145 (patch)
treedcc1ec93e95dde5704a7e37939454c9b24904758 /net/lapb/lapb_iface.c
parent69130c7cf96ea853dc5be599dd6a4b98907d39cc (diff)
vfs: mnt_want_write_file(): fix special file handling
I suspect that mnt_want_write_file() may have wrong assumption. I think mnt_want_write_file() is assuming it increments ->mnt_writers if (file->f_mode & FMODE_WRITE). But, if it's special_file(), it is false? Signed-off-by: OGAWA Hirofumi <[email protected]> Acked-by: Dave Hansen <[email protected]> Cc: Al Viro <[email protected]> Cc: Nick Piggin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions