diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 02:55:32 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:02 -0500 |
commit | 67697cbdccb8b63eae892a9437bcc79d08b79578 (patch) | |
tree | 6c14fa996532e314de662f36d9ef5e1410f7ffde /fs/ocfs2/dlmfs | |
parent | 2b15ad068418a91687c2d5819c6c03c227d391f2 (diff) | |
download | op-kernel-dev-67697cbdccb8b63eae892a9437bcc79d08b79578.zip op-kernel-dev-67697cbdccb8b63eae892a9437bcc79d08b79578.tar.gz |
ocfs2: propagate umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ocfs2/dlmfs')
-rw-r--r-- | fs/ocfs2/dlmfs/dlmfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/dlmfs/dlmfs.c b/fs/ocfs2/dlmfs/dlmfs.c index 9e1090b..abfac0d 100644 --- a/fs/ocfs2/dlmfs/dlmfs.c +++ b/fs/ocfs2/dlmfs/dlmfs.c @@ -400,7 +400,7 @@ static struct backing_dev_info dlmfs_backing_dev_info = { static struct inode *dlmfs_get_root_inode(struct super_block *sb) { struct inode *inode = new_inode(sb); - int mode = S_IFDIR | 0755; + umode_t mode = S_IFDIR | 0755; struct dlmfs_inode_private *ip; if (inode) { @@ -421,7 +421,7 @@ static struct inode *dlmfs_get_root_inode(struct super_block *sb) static struct inode *dlmfs_get_inode(struct inode *parent, struct dentry *dentry, - int mode) + umode_t mode) { struct super_block *sb = parent->i_sb; struct inode * inode = new_inode(sb); |