mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 11:03:43 +02:00
gfs2: Fix "gfs2: Switch to wait_event in gfs2_quotad"
Commite4a8b5481c("gfs2: Switch to wait_event in gfs2_quotad") broke cyclic statfs syncing, so the numbers reported by "df" could easily get completely out of sync with reality. Fix this by reverting part of commite4a8b5481cfor now. A follow-up commit will clean this code up later. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
This commit is contained in:
parent
5b351583a3
commit
dff1fb6d8b
|
|
@ -1616,7 +1616,7 @@ int gfs2_quotad(void *data)
|
|||
|
||||
t = min(quotad_timeo, statfs_timeo);
|
||||
|
||||
t = wait_event_freezable_timeout(sdp->sd_quota_wait,
|
||||
t -= wait_event_freezable_timeout(sdp->sd_quota_wait,
|
||||
sdp->sd_statfs_force_sync ||
|
||||
gfs2_withdrawing_or_withdrawn(sdp) ||
|
||||
kthread_should_stop(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user