diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-19 14:24:18 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-08-07 14:40:08 -0400 |
commit | 54a4d58a6459a93fc6ee898354b3d2ffb80dd03a (patch) | |
tree | c47084891155b17c7fadad5a6a4a4900582bfedc /fs/compat_ioctl.c | |
parent | b8f00e6be46f4c9a112e05fd692712873c4c4048 (diff) | |
download | op-kernel-dev-54a4d58a6459a93fc6ee898354b3d2ffb80dd03a.zip op-kernel-dev-54a4d58a6459a93fc6ee898354b3d2ffb80dd03a.tar.gz |
acct: simplify check_free_space()
a) file can't be NULL
b) file can't be changed under us
c) all writes are serialized by acct->lock; no need to mess with
spinlock there.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions