android_kernel_xiaomi_sm8350/fs/ecryptfs
Eric Sandeen 16317ec2e5 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 <sandeen@redhat.com>
Acked-by: Mike Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-12-23 12:54:37 -08:00
..
crypto.c ecryptfs: fix unlocking in error paths 2007-12-23 12:54:37 -08:00
debug.c eCryptfs: update comment and debug statement 2007-10-16 09:43:11 -07:00
dentry.c
ecryptfs_kernel.h ecryptfs: clean up page flag handling 2007-10-16 09:43:12 -07:00
file.c eCryptfs: remove unused functions and kmem_cache 2007-10-16 09:43:12 -07:00
inode.c ecryptfs: allow lower fs to interpret ATTR_KILL_S*ID 2007-10-18 14:37:21 -07:00
keystore.c ecryptfs: initialize new auth_tokens before teardown 2007-12-17 19:28:15 -08:00
main.c ecryptfs: redo dget,mntget on dentry_open failure 2007-12-23 12:54:37 -08:00
Makefile eCryptfs: read_write.c routines 2007-10-16 09:43:12 -07:00
messaging.c ecryptfs: fix unlocking in error paths 2007-12-23 12:54:37 -08:00
mmap.c ecryptfs: fix fsx data corruption problems 2007-12-17 19:28:17 -08:00
netlink.c [NET]: make netlink user -> kernel interface synchronious 2007-10-10 21:15:29 -07:00
read_write.c ecryptfs: fix fsx data corruption problems 2007-12-17 19:28:17 -08:00
super.c eCryptfs: initialize persistent lower file on inode create 2007-10-16 09:43:12 -07:00