diff options
Diffstat (limited to 'fs/xfs/xfs_dquot.c')
-rw-r--r-- | fs/xfs/xfs_dquot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_dquot.c b/fs/xfs/xfs_dquot.c index 25d7280e9f6b..9aef727a48b2 100644 --- a/fs/xfs/xfs_dquot.c +++ b/fs/xfs/xfs_dquot.c | |||
@@ -1169,7 +1169,7 @@ xfs_qm_dqflush( | |||
1169 | * If not dirty, or it's pinned and we are not supposed to block, nada. | 1169 | * If not dirty, or it's pinned and we are not supposed to block, nada. |
1170 | */ | 1170 | */ |
1171 | if (!XFS_DQ_IS_DIRTY(dqp) || | 1171 | if (!XFS_DQ_IS_DIRTY(dqp) || |
1172 | (!(flags & SYNC_WAIT) && atomic_read(&dqp->q_pincount) > 0)) { | 1172 | ((flags & SYNC_TRYLOCK) && atomic_read(&dqp->q_pincount) > 0)) { |
1173 | xfs_dqfunlock(dqp); | 1173 | xfs_dqfunlock(dqp); |
1174 | return 0; | 1174 | return 0; |
1175 | } | 1175 | } |