- mntput-called-before-dput-in-afs.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     afs: mntput called before dput
has been removed from the -mm tree.  Its filename was
     mntput-called-before-dput-in-afs.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: afs: mntput called before dput
From: Andreas Gruenbacher <agruen@xxxxxxx>

dput must be called before mntput here.

Signed-off-by: Andreas Gruenbacher <agruen@xxxxxxx>
Acked-By: David Howells <dhowells@xxxxxxxxxx>
Cc: <stable@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/afs/mntpt.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/afs/mntpt.c~mntput-called-before-dput-in-afs fs/afs/mntpt.c
--- a/fs/afs/mntpt.c~mntput-called-before-dput-in-afs
+++ a/fs/afs/mntpt.c
@@ -235,8 +235,8 @@ static void *afs_mntpt_follow_link(struc
 	err = do_add_mount(newmnt, nd, MNT_SHRINKABLE, &afs_vfsmounts);
 	switch (err) {
 	case 0:
-		mntput(nd->mnt);
 		dput(nd->dentry);
+		mntput(nd->mnt);
 		nd->mnt = newmnt;
 		nd->dentry = dget(newmnt->mnt_root);
 		schedule_delayed_work(&afs_mntpt_expiry_timer,
_

Patches currently in -mm which might be from agruen@xxxxxxx are

origin.patch
faster-ext2_clear_inode.patch
revert-faster-ext2_clear_inode.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux