]> 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)
commitf40246a3dfd5e8b5775368cace0ce7d85455396b
treea7860726ec88db4bd47fcb2161b7974660554a07
parent22b4e97e92c95460446b50aba948b77f8bcc0274
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: ef577d6 ("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