+ vfs-permit-filesystem-to-override-root-dentry-on-mount-infiniband-fix.patch added to -mm tree

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

 



The patch titled

     vfs-permit-filesystem-to-override-root-dentry-on-mount-infiniband-fix

has been added to the -mm tree.  Its filename is

     vfs-permit-filesystem-to-override-root-dentry-on-mount-infiniband-fix.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: vfs-permit-filesystem-to-override-root-dentry-on-mount-infiniband-fix
From: Andrew Morton <akpm@xxxxxxxx>


Teach ipath_fs about
vfs-permit-filesystem-to-override-root-dentry-on-mount.patch

Cc: David Howells <dhowells@xxxxxxxxxx>
Cc: Roland Dreier <rolandd@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/infiniband/hw/ipath/ipath_fs.c |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff -puN drivers/infiniband/hw/ipath/ipath_fs.c~vfs-permit-filesystem-to-override-root-dentry-on-mount-infiniband-fix drivers/infiniband/hw/ipath/ipath_fs.c
--- a/drivers/infiniband/hw/ipath/ipath_fs.c~vfs-permit-filesystem-to-override-root-dentry-on-mount-infiniband-fix
+++ a/drivers/infiniband/hw/ipath/ipath_fs.c
@@ -542,13 +542,14 @@ bail:
 	return ret;
 }
 
-static struct super_block *ipathfs_get_sb(struct file_system_type *fs_type,
-				        int flags, const char *dev_name,
-					void *data)
-{
-	ipath_super = get_sb_single(fs_type, flags, data,
-				    ipathfs_fill_super);
-	return ipath_super;
+static int ipathfs_get_sb(struct file_system_type *fs_type, int flags,
+			const char *dev_name, void *data, struct vfsmount *mnt)
+{
+	int ret = get_sb_single(fs_type, flags, data,
+				    ipathfs_fill_super, mnt);
+	if (ret >= 0)
+		ipath_super = mnt->mnt_sb;
+	return ret;
 }
 
 static void ipathfs_kill_super(struct super_block *s)
_

Patches currently in -mm which might be from akpm@xxxxxxxx are

origin.patch
pg_uncached-is-ia64-only.patch
initialise-total_memory-earlier.patch
page-migration-simplify-migrate_pages.patch
page-migration-support-moving-of-individual-pages-x86-support.patch
x86-kernel-irq-balancer-fix.patch
mmput-might-sleep.patch
jbd-avoid-kfree-null.patch
ext3_clear_inode-avoid-kfree-null.patch
leds-amstrad-delta-led-support.patch
connector-exports.patch
config_net=n-build-fix.patch
vfs-permit-filesystem-to-override-root-dentry-on-mount-infiniband-fix.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