Commit cad89e56 authored by John L. Hammond's avatar John L. Hammond Committed by Greg Kroah-Hartman

staging: lustre: llite: turn mode to umode_t for ll_new_inode()

Change int mode to umode_t.
Signed-off-by: default avatarJohn L. Hammond <john.hammond@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2675
Reviewed-on: http://review.whamcloud.com/10769Reviewed-by: default avatarYang Sheng <yang.sheng@intel.com>
Reviewed-by: default avatarLai Siyao <lai.siyao@intel.com>
Reviewed-by: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9c1c204f
...@@ -794,7 +794,7 @@ void ll_update_times(struct ptlrpc_request *request, struct inode *inode) ...@@ -794,7 +794,7 @@ void ll_update_times(struct ptlrpc_request *request, struct inode *inode)
} }
static int ll_new_node(struct inode *dir, struct dentry *dentry, static int ll_new_node(struct inode *dir, struct dentry *dentry,
const char *tgt, int mode, int rdev, const char *tgt, umode_t mode, int rdev,
__u32 opc) __u32 opc)
{ {
struct ptlrpc_request *request = NULL; struct ptlrpc_request *request = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment