You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
New helper - current_umask()
current->fs->umask is what most of fs_struct users are doing. Put that into a helper function. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
+1
-1
@@ -421,7 +421,7 @@ static int omfs_fill_super(struct super_block *sb, void *data, int silent)
|
||||
|
||||
sbi->s_uid = current_uid();
|
||||
sbi->s_gid = current_gid();
|
||||
sbi->s_dmask = sbi->s_fmask = current->fs->umask;
|
||||
sbi->s_dmask = sbi->s_fmask = current_umask();
|
||||
|
||||
if (!parse_options((char *) data, sbi))
|
||||
goto end;
|
||||
|
||||
Reference in New Issue
Block a user