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)
commit5366dc9fd1cb74023790a8edf29e4fe42c886dcf
treef8efcd857540859b2dfe831c5fad063de13936bc
parentae66be9b71b12f16b84129860d06bbfe37fbec51
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