diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-26 01:52:52 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:54:54 -0500 |
commit | 1a67aafb5f72a436ca044293309fa7e6351d6a35 (patch) | |
tree | d9e58600148de9d41b478cf815773b746647d15b /fs/nfs | |
parent | 4acdaf27ebe2034c342f3be57ef49aed1ad885ef (diff) |
switch ->mknod() to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c index 7cdee1d4160f..fd9a872fada0 100644 --- a/fs/nfs/dir.c +++ b/fs/nfs/dir.c | |||
@@ -53,7 +53,7 @@ static int nfs_rmdir(struct inode *, struct dentry *); | |||
53 | static int nfs_unlink(struct inode *, struct dentry *); | 53 | static int nfs_unlink(struct inode *, struct dentry *); |
54 | static int nfs_symlink(struct inode *, struct dentry *, const char *); | 54 | static int nfs_symlink(struct inode *, struct dentry *, const char *); |
55 | static int nfs_link(struct dentry *, struct inode *, struct dentry *); | 55 | static int nfs_link(struct dentry *, struct inode *, struct dentry *); |
56 | static int nfs_mknod(struct inode *, struct dentry *, int, dev_t); | 56 | static int nfs_mknod(struct inode *, struct dentry *, umode_t, dev_t); |
57 | static int nfs_rename(struct inode *, struct dentry *, | 57 | static int nfs_rename(struct inode *, struct dentry *, |
58 | struct inode *, struct dentry *); | 58 | struct inode *, struct dentry *); |
59 | static int nfs_fsync_dir(struct file *, loff_t, loff_t, int); | 59 | static int nfs_fsync_dir(struct file *, loff_t, loff_t, int); |
@@ -1693,7 +1693,7 @@ out_err: | |||
1693 | * See comments for nfs_proc_create regarding failed operations. | 1693 | * See comments for nfs_proc_create regarding failed operations. |
1694 | */ | 1694 | */ |
1695 | static int | 1695 | static int |
1696 | nfs_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t rdev) | 1696 | nfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) |
1697 | { | 1697 | { |
1698 | struct iattr attr; | 1698 | struct iattr attr; |
1699 | int status; | 1699 | int status; |