From: John L. Hammond Date: Sun, 18 Sep 2016 20:37:33 +0000 (-0400) Subject: staging: lustre: llite: turn mode to umode_t for ll_new_inode() X-Git-Tag: v4.9-rc1~119^2~469 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cad89e561320b6f5c8ca05a490729754e09a3597;p=karo-tx-linux.git staging: lustre: llite: turn mode to umode_t for ll_new_inode() Change int mode to umode_t. Signed-off-by: John L. Hammond Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2675 Reviewed-on: http://review.whamcloud.com/10769 Reviewed-by: Yang Sheng Reviewed-by: Lai Siyao Reviewed-by: Oleg Drokin Signed-off-by: James Simmons Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/llite/namei.c b/drivers/staging/lustre/lustre/llite/namei.c index 8f92af44930a..fadac44b948e 100644 --- a/drivers/staging/lustre/lustre/llite/namei.c +++ b/drivers/staging/lustre/lustre/llite/namei.c @@ -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, - const char *tgt, int mode, int rdev, + const char *tgt, umode_t mode, int rdev, __u32 opc) { struct ptlrpc_request *request = NULL;