]> git.baikalelectronics.ru Git - kernel.git/commit
eCryptfs: Swap dput() and mntput()
authorMichael Halcrow <mhalcrow@us.ibm.com>
Thu, 20 Mar 2008 00:00:58 +0000 (17:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 20 Mar 2008 01:53:36 +0000 (18:53 -0700)
commitb4a466f1ff950d66fec80ec5d048dc3188cee667
treef8efcd857540859b2dfe831c5fad063de13936bc
parent36c5e645d2c2031b5c5781912d1b5a4ce059a3aa
eCryptfs: Swap dput() and mntput()

ecryptfs_d_release() is doing a mntput before doing the dput.  This patch
moves the dput before the mntput.

Thanks to Rajouri Jammu for reporting this.

Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Cc: Rajouri Jammu <rajouri.jammu@gmail.com>
Cc: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ecryptfs/dentry.c