tmpfs: fix XATTR N overriding POSIX_ACL Y
authorEric Paris <eparis@redhat.com>
Thu, 26 May 2011 02:49:18 +0000 (19:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 26 May 2011 02:53:02 +0000 (19:53 -0700)
commit4db70f73e56961b9bcdfd0c36c62847a18b7dbb5
tree5310e7f8e250dc34a60a1e447a24656e83a1ab7c
parent520fd8457ea8a1bcd6fe3e133b3e0eb6e6fe22ce
tmpfs: fix XATTR N overriding POSIX_ACL Y

Choosing TMPFS_XATTR default N was switching off TMPFS_POSIX_ACL,
even if it had been Y in oldconfig; and Linus reports that PulseAudio
goes subtly wrong unless it can use ACLs on /dev/shm.

Make TMPFS_POSIX_ACL select TMPFS_XATTR (and depend upon TMPFS),
and move the TMPFS_POSIX_ACL entry before the TMPFS_XATTR entry,
to avoid asking unnecessary questions then ignoring their answers.

Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/Kconfig