From: John L. Hammond <[email protected]>

Change int mode to umode_t.

Signed-off-by: John L. Hammond <[email protected]>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2675
Reviewed-on: http://review.whamcloud.com/10769
Reviewed-by: Yang Sheng <[email protected]>
Reviewed-by: Lai Siyao <[email protected]>
Reviewed-by: Oleg Drokin <[email protected]>
Signed-off-by: James Simmons <[email protected]>
---
 drivers/staging/lustre/lustre/llite/namei.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/lustre/lustre/llite/namei.c 
b/drivers/staging/lustre/lustre/llite/namei.c
index 8f92af4..fadac44 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;
-- 
1.7.1

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to