[JFFS2] Fix ACL vs. mode handling.
commit9ed437c50d89eabae763dd422579f73fdebf288d
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 22 Aug 2007 11:39:19 +0000 (22 12:39 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 22 Aug 2007 11:39:19 +0000 (22 12:39 +0100)
tree22329b749200798165a8a07fe141e9cbc3b1c733
parent09b3fba562ce366312b90a6f71d0b727b4d93ba9
[JFFS2] Fix ACL vs. mode handling.

When POSIX ACL support was enabled, we weren't writing correct
legacy modes to the medium on inode creation, or when the ACL was set.
This meant that the permissions would be incorrect after the file system
was remounted.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/jffs2/acl.c
fs/jffs2/acl.h
fs/jffs2/dir.c
fs/jffs2/fs.c
fs/jffs2/os-linux.h