]> git.karo-electronics.de Git - karo-tx-linux.git/commit
eCryptfs: Clear i_nlink in rmdir
authorTyler Hicks <tyhicks@linux.vnet.ibm.com>
Fri, 29 Apr 2011 21:26:27 +0000 (16:26 -0500)
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>
Tue, 17 May 2011 15:14:47 +0000 (10:14 -0500)
commitfc77ac382c5d4763e989d09d73fe0f6af091f8b5
tree591ba25ba165167442e13333f39bd1d0bd5f112b
parentc1d10d18c542278b7fbc413c289d3cb6219da6b3
eCryptfs: Clear i_nlink in rmdir

eCryptfs wasn't clearing the eCryptfs inode's i_nlink after a successful
vfs_rmdir() on the lower directory. This resulted in the inode evict and
destroy paths to be missed.

https://bugs.launchpad.net/ecryptfs/+bug/723518

Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Cc: <stable@kernel.org>
fs/ecryptfs/inode.c