]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite007c6ce0ff71bd3734d7433fac6022aafc3d90a
tree23e456cbe32786092965088bf25c13f38148655a
parente10efbd570a3bf403b338f674129e74deac14b38
Revert "xfs: grab dquots without taking the ilock"

This reverts commit 3934a6646f4801b87fcc2dd776e5f88340c1ee41.

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