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:
parent
f1191b50ec
commit
ce3b0f8d5c
26 changed files with 39 additions and 31 deletions
|
|
@ -1741,6 +1741,8 @@ extern void drop_collected_mounts(struct vfsmount *);
|
|||
|
||||
extern int vfs_statfs(struct dentry *, struct kstatfs *);
|
||||
|
||||
extern int current_umask(void);
|
||||
|
||||
/* /sys/fs */
|
||||
extern struct kobject *fs_kobj;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue