aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorEric Sandeen <[email protected]>2007-12-22 14:03:26 -0800
committerLinus Torvalds <[email protected]>2007-12-23 12:54:37 -0800
commit16317ec2e5a85884fea680d24c1b228a5602159f (patch)
tree68b24327c001d9f0def6bad8ba7ef0b2522a464c /net/unix/sysctl_net_unix.c
parentc8161f64ccdcc3ac05c7bbfebc031e7ad5ca6412 (diff)
ecryptfs: redo dget,mntget on dentry_open failure
Thanks to Jeff Moyer for pointing this out. If the RDWR dentry_open() in ecryptfs_init_persistent_file fails, it will do a dput/mntput. Need to re-take references if we retry as RDONLY. Signed-off-by: Eric Sandeen <[email protected]> Acked-by: Mike Halcrow <[email protected]> Signed-off-by: Jeff Moyer <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions