diff options
author | Fabian Frederick <fabf@skynet.be> | 2017-04-23 21:58:15 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2017-04-24 17:27:52 +0300 |
commit | 6ff6b2b32924d53519948e270cb9f5549408c039 (patch) | |
tree | 1ade6f3307a6c5d4895fa5b1b97f2637f35a652c /fs/udf/namei.c | |
parent | 139c279fb9423833fb730ccb07e549b5a9183f44 (diff) | |
download | linux-6ff6b2b32924d53519948e270cb9f5549408c039.tar.xz |
udf: use octal for permissions
According to commit f90774e1fd27 ("checkpatch: look for symbolic
permissions and suggest octal instead")
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/namei.c')
-rw-r--r-- | fs/udf/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/udf/namei.c b/fs/udf/namei.c index babf48d0e553..385ee89d5824 100644 --- a/fs/udf/namei.c +++ b/fs/udf/namei.c @@ -906,7 +906,7 @@ out: static int udf_symlink(struct inode *dir, struct dentry *dentry, const char *symname) { - struct inode *inode = udf_new_inode(dir, S_IFLNK | S_IRWXUGO); + struct inode *inode = udf_new_inode(dir, S_IFLNK | 0777); struct pathComponent *pc; const char *compstart; struct extent_position epos = {}; |