diff --git a/[refs] b/[refs] index a61aad3e1159..fbb2f71373ef 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e68726ff72cf7ba5e7d789857fcd9a75ca573f03 +refs/heads/master: 62b259d8b3ea9d4a73108fc599e40c863ec25ae6 diff --git a/trunk/fs/namei.c b/trunk/fs/namei.c index 1b464390dde8..5bac1bb6e585 100644 --- a/trunk/fs/namei.c +++ b/trunk/fs/namei.c @@ -2414,7 +2414,7 @@ static int atomic_open(struct nameidata *nd, struct dentry *dentry, goto out; } - mode = op->mode & S_IALLUGO; + mode = op->mode; if ((open_flag & O_CREAT) && !IS_POSIXACL(dir)) mode &= ~current_umask();