]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: Fix setting umask when POSIX ACLs are not enabled
authorChris Ball <cjb@laptop.org>
Tue, 29 Sep 2009 17:51:04 +0000 (13:51 -0400)
committerChris Mason <chris.mason@oracle.com>
Tue, 29 Sep 2009 17:51:04 +0000 (13:51 -0400)
commit682fb2b8f2678d2034b2d5c8605906a6d2ef5244
tree27c91f6bb1ac0e4862286e78d1365e2890754cef
parent159e6f22593e29be9ee1eec4956e744910cf2bb6
Btrfs: Fix setting umask when POSIX ACLs are not enabled

We currently set sb->s_flags |= MS_POSIXACL unconditionally, which is
incorrect -- it tells the VFS that it shouldn't set umask because we
will, yet we don't set it ourselves if we aren't using POSIX ACLs, so
the umask ends up ignored.

Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/super.c