projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New helper - current_umask()
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
fs
/
gfs2
/
acl.c
diff --git
a/fs/gfs2/acl.c
b/fs/gfs2/acl.c
index 43764f4fa763a148f8bd0b67ed69b8755fa070be..fa881bdc3d8577647d486aa7772eecc3b72177d3 100644
(file)
--- a/
fs/gfs2/acl.c
+++ b/
fs/gfs2/acl.c
@@
-215,7
+215,7
@@
int gfs2_acl_create(struct gfs2_inode *dip, struct gfs2_inode *ip)
if (error)
return error;
if (!acl) {
- mode &= ~current
->fs->umask
;
+ mode &= ~current
_umask()
;
if (mode != ip->i_inode.i_mode)
error = munge_mode(ip, mode);
return error;