]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ocfs2: fix umask ignored issue
authorJunxiao Bi <junxiao.bi@oracle.com>
Mon, 30 Nov 2015 21:44:50 +0000 (13:44 -0800)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 30 Nov 2015 21:44:50 +0000 (13:44 -0800)
commit35f29b603200e1a373e2b8a2e9edb8d8e78db35a
tree3e9a5fbd721aa3480207dc2efb1be581662d6106
parent6e726498f7be60d1b1a3271069fd37a9fdac1cbb
ocfs2: fix umask ignored issue

Oracle-bug: 22155833

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")
Acked-by: Srinivas Eeda <srinivas.eeda@oracle.com>
Signed-off-by: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Gang He <ghe@suse.com>
Cc: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 8f1eb48758aacf6c1ffce18179295adbf3bd7640)
fs/ocfs2/namei.c