summaryrefslogtreecommitdiff
path: root/fs/udf/namei.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2017-04-23 21:58:15 +0300
committerJan Kara <jack@suse.cz>2017-04-24 17:27:52 +0300
commit6ff6b2b32924d53519948e270cb9f5549408c039 (patch)
tree1ade6f3307a6c5d4895fa5b1b97f2637f35a652c /fs/udf/namei.c
parent139c279fb9423833fb730ccb07e549b5a9183f44 (diff)
downloadlinux-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.c2
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 = {};