Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294358
b: refs/heads/master
c: 38b0da7
h: refs/heads/master
v: v3
  • Loading branch information
Stanislav Kinsbursky authored and Trond Myklebust committed Jan 31, 2012
1 parent 1902827 commit 789c826
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5bff0386305461021bbef2d958fa0f0151f56a6f
refs/heads/master: 38b0da7522c086f1dcdeda39a2d1849c6a31f518
3 changes: 2 additions & 1 deletion trunk/net/sunrpc/rpc_pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,7 @@ rpc_fill_super(struct super_block *sb, void *data, int silent)
{
struct inode *inode;
struct dentry *root;
struct net *net = data;

sb->s_blocksize = PAGE_CACHE_SIZE;
sb->s_blocksize_bits = PAGE_CACHE_SHIFT;
Expand All @@ -1017,7 +1018,7 @@ static struct dentry *
rpc_mount(struct file_system_type *fs_type,
int flags, const char *dev_name, void *data)
{
return mount_single(fs_type, flags, data, rpc_fill_super);
return mount_ns(fs_type, flags, current->nsproxy->net_ns, rpc_fill_super);
}

static struct file_system_type rpc_pipe_fs_type = {
Expand Down

0 comments on commit 789c826

Please sign in to comment.