sunrpc: propagate umode_t

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2011-07-25 00:35:13 -04:00
commit 64f1426f3c
4 changed files with 4 additions and 4 deletions

View file

@ -1778,7 +1778,7 @@ const struct file_operations cache_flush_operations_pipefs = {
};
int sunrpc_cache_register_pipefs(struct dentry *parent,
const char *name, mode_t umode,
const char *name, umode_t umode,
struct cache_detail *cd)
{
struct qstr q;

View file

@ -953,7 +953,7 @@ static void rpc_cachedir_depopulate(struct dentry *dentry)
}
struct dentry *rpc_create_cache_dir(struct dentry *parent, struct qstr *name,
mode_t umode, struct cache_detail *cd)
umode_t umode, struct cache_detail *cd)
{
return rpc_mkdir_populate(parent, name, umode, NULL,
rpc_cachedir_populate, cd);