X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=net%2Fsocket.c;h=565f5e8d11913c797500a517c03835eee6e15ff9;hb=357c2b9056df447390b7df3e49960a4c609a89a9;hp=02948b622bd2e938bfc6d02e44f2d13ae2b9f874;hpb=6fc56ccfe44c8bc3fb47d6346c12c3b865756ef8;p=powerpc.git 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;