acct: check FMODE_CAN_WRITE
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 31 Mar 2015 16:30:48 +0000 (12:30 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 12 Apr 2015 02:27:55 +0000 (22:27 -0400)
commitd0f88f8d5da674445f23ace60bb1896f4a3a3783
tree685ec43a677db26248f1dbddb524bce7811424bd
parent47e393622bbdd48aa21837eb2c55ee1c359e080c
acct: check FMODE_CAN_WRITE

it's not calling ->write() directly anymore.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/acct.c