提交 541af6a0 编写于 作者: A Al Viro

fuse: propagate umode_t

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 632861f0
...@@ -369,8 +369,8 @@ static struct dentry *fuse_lookup(struct inode *dir, struct dentry *entry, ...@@ -369,8 +369,8 @@ static struct dentry *fuse_lookup(struct inode *dir, struct dentry *entry,
* If the filesystem doesn't support this, then fall back to separate * If the filesystem doesn't support this, then fall back to separate
* 'mknod' + 'open' requests. * 'mknod' + 'open' requests.
*/ */
static int fuse_create_open(struct inode *dir, struct dentry *entry, int mode, static int fuse_create_open(struct inode *dir, struct dentry *entry,
struct nameidata *nd) umode_t mode, struct nameidata *nd)
{ {
int err; int err;
struct inode *inode; struct inode *inode;
...@@ -480,7 +480,7 @@ static int fuse_create_open(struct inode *dir, struct dentry *entry, int mode, ...@@ -480,7 +480,7 @@ static int fuse_create_open(struct inode *dir, struct dentry *entry, int mode,
*/ */
static int create_new_entry(struct fuse_conn *fc, struct fuse_req *req, static int create_new_entry(struct fuse_conn *fc, struct fuse_req *req,
struct inode *dir, struct dentry *entry, struct inode *dir, struct dentry *entry,
int mode) umode_t mode)
{ {
struct fuse_entry_out outarg; struct fuse_entry_out outarg;
struct inode *inode; struct inode *inode;
......
...@@ -80,7 +80,7 @@ struct fuse_inode { ...@@ -80,7 +80,7 @@ struct fuse_inode {
/** The sticky bit in inode->i_mode may have been removed, so /** The sticky bit in inode->i_mode may have been removed, so
preserve the original mode */ preserve the original mode */
mode_t orig_i_mode; umode_t orig_i_mode;
/** Version of last attribute change */ /** Version of last attribute change */
u64 attr_version; u64 attr_version;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册