Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3147db89 authored by Ryusuke Konishi's avatar Ryusuke Konishi Committed by Linus Torvalds
Browse files

nilfs2: use octal for unreadable permission macro

parent 4d685f93
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -150,7 +150,7 @@ static int nilfs_symlink(struct inode *dir, struct dentry *dentry,
	if (err)
	if (err)
		return err;
		return err;


	inode = nilfs_new_inode(dir, S_IFLNK | S_IRWXUGO);
	inode = nilfs_new_inode(dir, S_IFLNK | 0777);
	err = PTR_ERR(inode);
	err = PTR_ERR(inode);
	if (IS_ERR(inode))
	if (IS_ERR(inode))
		goto out;
		goto out;