Commit 9d7b1354 authored by Jiri Slaby's avatar Jiri Slaby

Revert "ocfs2: fix umask ignored issue"

This reverts commit e1f20b83, upstream
commit 8f1eb487. This commit fixes
702e5bc6 ("ocfs2: use generic posix ACL infrastructure"), which is only
in 3.14.

So this commit should have never been applied to 3.12 and it can
cause sgid inheritance issues.
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
parent 6316a3e9
......@@ -330,8 +330,6 @@ static int ocfs2_mknod(struct inode *dir,
mlog_errno(status);
goto leave;
}
/* update inode->i_mode after mask with "umask". */
inode->i_mode = mode;
handle = ocfs2_start_trans(osb, ocfs2_mknod_credits(osb->sb,
S_ISDIR(mode),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment