diff options
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; |