ocfs2: fix umask ignored issue
authorJunxiao Bi <[email protected]>
Fri, 20 Nov 2015 23:57:30 +0000 (15:57 -0800)
committerLinus Torvalds <[email protected]>
Sat, 21 Nov 2015 00:17:32 +0000 (16:17 -0800)
commit8f1eb48758aacf6c1ffce18179295adbf3bd7640
treea7860726ec88db4bd47fcb2161b7974660554a07
parent875fa6fbb8d8d5bbf8cc2fa7b340a716f50ee0c7
ocfs2: fix umask ignored issue

New created file's mode is not masked with umask, and this makes umask not
work for ocfs2 volume.

Fixes: 702e5bc ("ocfs2: use generic posix ACL infrastructure")
Signed-off-by: Junxiao Bi <[email protected]>
Cc: Gang He <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/ocfs2/namei.c