]> Pileus Git - ~andy/linux/blobdiff - fs/ecryptfs/dentry.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes
[~andy/linux] / fs / ecryptfs / dentry.c
index 841a032050a7fd84f5175fea918e62ba4f879ae1..5e596583946c9de4eab193be422c93b8700815a0 100644 (file)
@@ -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));