]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/socket.c
[PATCH] autofs4: need to invalidate children on tree mount expire
[linux-2.6-omap-h63xx.git] / net / socket.c
index 02948b622bd2e938bfc6d02e44f2d13ae2b9f874..565f5e8d11913c797500a517c03835eee6e15ff9 100644 (file)
@@ -335,10 +335,11 @@ static struct super_operations sockfs_ops = {
        .statfs =       simple_statfs,
 };
 
-static struct super_block *sockfs_get_sb(struct file_system_type *fs_type,
-       int flags, const char *dev_name, void *data)
+static int sockfs_get_sb(struct file_system_type *fs_type,
+       int flags, const char *dev_name, void *data, struct vfsmount *mnt)
 {
-       return get_sb_pseudo(fs_type, "socket:", &sockfs_ops, SOCKFS_MAGIC);
+       return get_sb_pseudo(fs_type, "socket:", &sockfs_ops, SOCKFS_MAGIC,
+                            mnt);
 }
 
 static struct vfsmount *sock_mnt __read_mostly;