X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fsocket.c;h=565f5e8d11913c797500a517c03835eee6e15ff9;hb=5806db22cffc7557b675d3c9229f327980aee797;hp=02948b622bd2e938bfc6d02e44f2d13ae2b9f874;hpb=1465887cfe79889273e3fd3aaf862e7ec3ee244f;p=linux-2.6 diff --git a/net/socket.c b/net/socket.c index 02948b622b..565f5e8d11 100644 --- a/net/socket.c +++ b/net/socket.c @@ -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;