diff options
author | jeff <jeff@FreeBSD.org> | 2006-02-22 06:12:53 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2006-02-22 06:12:53 +0000 |
commit | c925b62ee4b3dac1f343e7e1239075089fffc941 (patch) | |
tree | 531e467d5576d9076c773b15c91431a4805db9e9 /sys/ufs | |
parent | 3133ba817dacc19c8501a08e86999c86d7397166 (diff) | |
download | FreeBSD-src-c925b62ee4b3dac1f343e7e1239075089fffc941.zip FreeBSD-src-c925b62ee4b3dac1f343e7e1239075089fffc941.tar.gz |
- Using LK_NOWAIT in qsync() can get us into infinite loop situations that
lead to deadlocks. Remove it.
MFC After: 1 week
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ufs/ufs_quota.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_quota.c b/sys/ufs/ufs/ufs_quota.c index 5ebeca8..3f6bd60 100644 --- a/sys/ufs/ufs/ufs_quota.c +++ b/sys/ufs/ufs/ufs_quota.c @@ -750,7 +750,7 @@ again: MNT_ILOCK(mp); continue; } - error = vget(vp, LK_EXCLUSIVE | LK_NOWAIT | LK_INTERLOCK, td); + error = vget(vp, LK_EXCLUSIVE | LK_INTERLOCK, td); if (error) { MNT_ILOCK(mp); if (error == ENOENT) { |