]> git.baikalelectronics.ru Git - kernel.git/commit
fix jffs2 ACLs on big-endian with 16bit mode_t
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 23 Jul 2011 22:18:58 +0000 (18:18 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 24 Jul 2011 14:12:01 +0000 (10:12 -0400)
commitcb3899363a590b21c9b413752319a259fdea58bc
tree736c84e9a31b2dd736293ca117688527e3a5a194
parentc65fec03cb3b8380e5035b7fa096ec356c3a0794
fix jffs2 ACLs on big-endian with 16bit mode_t

casting int * to mode_t * is not a good thing - on a *lot* of big-endian
architectures mode_t happens to be smaller than int and there it breaks
quite spectaculary...

Fucked-up-by: commit 1888ea5cfa9d40cf03a0b5f1883dff188253e6eb
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/jffs2/acl.c
fs/jffs2/acl.h
fs/jffs2/fs.c
fs/jffs2/os-linux.h