Revert "xfs: grab dquots without taking the ilock"
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Jul 2017 19:14:34 +0000 (12:14 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 13 Jul 2017 21:55:05 +0000 (14:55 -0700)
commit0891f9971a3b00d243d5743cc78a628ad060adea
tree23e456cbe32786092965088bf25c13f38148655a
parent29db2500f6a92d63834a40c5e9eebab34c78c53a
Revert "xfs: grab dquots without taking the ilock"

This reverts commit 50e0bdbe9f48f98bb02eac7030d682f4716884ae.

The new XFS_QMOPT_NOLOCK isn't used at all, and conditional locking based
on a flag is always the wrong thing to do - we should be having helpers
that can be called without the lock instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_quota_defs.h
fs/xfs/xfs_dquot.c