]> git.baikalelectronics.ru Git - kernel.git/commit
quota: provide function to grab quota structure reference
authorJan Kara <jack@suse.cz>
Thu, 3 Apr 2014 21:46:55 +0000 (14:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:20:54 +0000 (16:20 -0700)
commitc1ea734617b138c88581730ffeb969f8c5723802
treec9c9d1431fd3a7a002ed17b095e981bcf2cb30a3
parent7a1dae048a5bac9ecc3f45b678ffc6046495b048
quota: provide function to grab quota structure reference

Provide dqgrab() function to get quota structure reference when we are
sure it already has at least one active reference.  Make use of this
function inside quota code.

Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Mark Fasheh <mfasheh@suse.de>
Reviewed-by: Srinivas Eeda <srinivas.eeda@oracle.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/quota/dquot.c
include/linux/quotaops.h