Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
541af6a0
Commit
541af6a0
authored
Jul 26, 2011
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fuse: propagate umode_t
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
632861f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
fs/fuse/dir.c
fs/fuse/dir.c
+3
-3
fs/fuse/fuse_i.h
fs/fuse/fuse_i.h
+1
-1
No files found.
fs/fuse/dir.c
View file @
541af6a0
...
...
@@ -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
* 'mknod' + 'open' requests.
*/
static
int
fuse_create_open
(
struct
inode
*
dir
,
struct
dentry
*
entry
,
int
mode
,
struct
nameidata
*
nd
)
static
int
fuse_create_open
(
struct
inode
*
dir
,
struct
dentry
*
entry
,
umode_t
mode
,
struct
nameidata
*
nd
)
{
int
err
;
struct
inode
*
inode
;
...
...
@@ -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
,
struct
inode
*
dir
,
struct
dentry
*
entry
,
in
t
mode
)
umode_
t
mode
)
{
struct
fuse_entry_out
outarg
;
struct
inode
*
inode
;
...
...
fs/fuse/fuse_i.h
View file @
541af6a0
...
...
@@ -80,7 +80,7 @@ struct fuse_inode {
/** The sticky bit in inode->i_mode may have been removed, so
preserve the original mode */
mode_t
orig_i_mode
;
u
mode_t
orig_i_mode
;
/** Version of last attribute change */
u64
attr_version
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment