Fix ACC_MODE() for real
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 24 Dec 2009 11:58:56 +0000 (06:58 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 14 Jan 2010 14:05:26 +0000 (09:05 -0500)
commit6d125529c6cbfe570ce3bf9a0728548f087499da
tree89ba434f76d224741bd0e0b0ef02b10a4ff95136
parent4ecf09fd3a7c8858198875171b684c73338fad83
Fix ACC_MODE() for real

commit 5300990c0370e804e49d9a59d928c5d53fb73487 had stepped on a rather
nasty mess: definitions of ACC_MODE used to be different.  Fixed the
resulting breakage, converting them to variant that takes O_... value;
all callers have that and it actually simplifies life (see tomoyo part
of changes).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c
include/linux/fs.h
security/tomoyo/tomoyo.c