VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Michael Halcrow <mhalcrow@us.ibm.com> 2008-03-19 17:00:58 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2008-03-19 18:53:36 -0700 commit: 5366dc9fd1cb74023790a8edf29e4fe42c886dcf parent: ae66be9b71b12f16b84129860d06bbfe37fbec51
Commit Summary:
eCryptfs: Swap dput() and mntput()
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/ecryptfs/dentry.c b/fs/ecryptfs/dentry.c
index 841a032050a7..5e596583946c 100644
--- a/fs/ecryptfs/dentry.c
+++ b/fs/ecryptfs/dentry.c
@@ -80,8 +80,8 @@ static void ecryptfs_d_release(struct dentry *dentry)
 {
 	if (ecryptfs_dentry_to_private(dentry)) {
 		if (ecryptfs_dentry_to_lower(dentry)) {
-			mntput(ecryptfs_dentry_to_lower_mnt(dentry));
 			dput(ecryptfs_dentry_to_lower(dentry));
+			mntput(ecryptfs_dentry_to_lower_mnt(dentry));
 		}
 		kmem_cache_free(ecryptfs_dentry_info_cache,
 				ecryptfs_dentry_to_private(dentry));