]> git.baikalelectronics.ru Git - kernel.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>
Fri, 27 May 2011 16:46:14 +0000 (11:46 -0500)
commit137373ac2a3f045b4827920cebae4b25cd8b540a
tree2b3da6ab0f16a77492bb2d42a667f4c21d4b4f45
parent5720d480f250a80350663e6b19ef7e83d71738be
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