]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: fix umask ignored issue
authorJunxiao Bi <junxiao.bi@oracle.com>
Fri, 20 Nov 2015 23:57:30 +0000 (15:57 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 Nov 2015 00:17:32 +0000 (16:17 -0800)
commitd49ae6853bf558bfe135224e1b09c426e4a2166e
treea7860726ec88db4bd47fcb2161b7974660554a07
parent6b56816bb1a701c46b32524884064759617ac71f
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: a976701 ("ocfs2: use generic posix ACL infrastructure")
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>
fs/ocfs2/namei.c