Skip to content
Commit 54a4d58a authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent b8f00e6b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment