diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-24 08:41:41 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-24 13:07:53 -0400 |
commit | 816724e65c72a90a44fbad0ef0b59b186c85fa90 (patch) | |
tree | 421fa29aedff988e392f92780637553e275d37a0 /net/socket.c | |
parent | 70ac4385a13f78bc478f26d317511893741b05bd (diff) | |
parent | d384ea691fe4ea8c2dd5b9b8d9042eb181776f18 (diff) |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Conflicts:
fs/nfs/inode.c
fs/super.c
Fix conflicts between patch 'NFS: Split fs/nfs/inode.c' and patch
'VFS: Permit filesystem to override root dentry on mount'
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/socket.c b/net/socket.c index 02948b622bd2..565f5e8d1191 100644 --- a/net/socket.c +++ b/net/socket.c | |||
@@ -335,10 +335,11 @@ static struct super_operations sockfs_ops = { | |||
335 | .statfs = simple_statfs, | 335 | .statfs = simple_statfs, |
336 | }; | 336 | }; |
337 | 337 | ||
338 | static struct super_block *sockfs_get_sb(struct file_system_type *fs_type, | 338 | static int sockfs_get_sb(struct file_system_type *fs_type, |
339 | int flags, const char *dev_name, void *data) | 339 | int flags, const char *dev_name, void *data, struct vfsmount *mnt) |
340 | { | 340 | { |
341 | return get_sb_pseudo(fs_type, "socket:", &sockfs_ops, SOCKFS_MAGIC); | 341 | return get_sb_pseudo(fs_type, "socket:", &sockfs_ops, SOCKFS_MAGIC, |
342 | mnt); | ||
342 | } | 343 | } |
343 | 344 | ||
344 | static struct vfsmount *sock_mnt __read_mostly; | 345 | static struct vfsmount *sock_mnt __read_mostly; |