Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information