diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-25 00:35:13 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:04 -0500 |
commit | 64f1426f3c4f8dde9ac9bf3f3b19b88d17f2bae6 (patch) | |
tree | ad4bcf7649654666d611cb65018ce484b108bfb0 /net/sunrpc | |
parent | a760b03dc0ac4c9663577ca45de5e0fe1c35dc13 (diff) |
sunrpc: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/cache.c | 2 | ||||
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c index 72ad836e4fe0..03b56bc3b659 100644 --- a/net/sunrpc/cache.c +++ b/net/sunrpc/cache.c | |||
@@ -1778,7 +1778,7 @@ const struct file_operations cache_flush_operations_pipefs = { | |||
1778 | }; | 1778 | }; |
1779 | 1779 | ||
1780 | int sunrpc_cache_register_pipefs(struct dentry *parent, | 1780 | int sunrpc_cache_register_pipefs(struct dentry *parent, |
1781 | const char *name, mode_t umode, | 1781 | const char *name, umode_t umode, |
1782 | struct cache_detail *cd) | 1782 | struct cache_detail *cd) |
1783 | { | 1783 | { |
1784 | struct qstr q; | 1784 | struct qstr q; |
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 60564bcb8067..63a7a7add21e 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c | |||
@@ -953,7 +953,7 @@ static void rpc_cachedir_depopulate(struct dentry *dentry) | |||
953 | } | 953 | } |
954 | 954 | ||
955 | struct dentry *rpc_create_cache_dir(struct dentry *parent, struct qstr *name, | 955 | struct dentry *rpc_create_cache_dir(struct dentry *parent, struct qstr *name, |
956 | mode_t umode, struct cache_detail *cd) | 956 | umode_t umode, struct cache_detail *cd) |
957 | { | 957 | { |
958 | return rpc_mkdir_populate(parent, name, umode, NULL, | 958 | return rpc_mkdir_populate(parent, name, umode, NULL, |
959 | rpc_cachedir_populate, cd); | 959 | rpc_cachedir_populate, cd); |