]> asedeno.scripts.mit.edu Git - linux.git/commit
quota: Inline functions into their callsites
authorJan Kara <jack@suse.cz>
Mon, 7 Aug 2017 15:07:28 +0000 (17:07 +0200)
committerJan Kara <jack@suse.cz>
Thu, 17 Aug 2017 20:00:59 +0000 (22:00 +0200)
commit0ed60de34a975804a256fb3fe233b1466c603be6
tree84c23183aedae3501aa0dec48f804f3f0270bb15
parent91389240a252ba3ced356404f0e3426958d619e4
quota: Inline functions into their callsites

inode_add_rsv_space() and inode_sub_rsv_space() had only one callsite.
Inline them there directly. inode_claim_rsv_space() and
inode_reclaim_rsv_space() had two callsites so inline them there as
well. This will simplify further locking changes.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/dquot.c
include/linux/quotaops.h