]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: grab dquots without taking the ilock
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 27 Jun 2017 17:19:45 +0000 (10:19 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 28 Jun 2017 01:23:22 +0000 (18:23 -0700)
commit3934a6646f4801b87fcc2dd776e5f88340c1ee41
treea4f2d4b9cc5e1fad8be1f0ff3598d11a9864d326
parent0d4ee0e8ce117f413c03d7c647f0b0f124acc8b2
xfs: grab dquots without taking the ilock

Add a new dqget flag that grabs the dquot without taking the ilock.
This will be used by the scrubber (which will have already grabbed
the ilock) to perform basic sanity checking of the quota data.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/libxfs/xfs_quota_defs.h
fs/xfs/xfs_dquot.c