diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 08073dcaf30e2bb8f41b0e2aac12df8ddb065356..190d7eb2d0eae1cc0e86efe3742d39cf33660f65 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c @@ -2127,7 +2127,7 @@ bool gfs2_queue_delete_work(struct gfs2_glock *gl, unsigned long delay) void gfs2_cancel_delete_work(struct gfs2_glock *gl) { - if (cancel_delayed_work_sync(&gl->gl_delete)) { + if (cancel_delayed_work(&gl->gl_delete)) { clear_bit(GLF_PENDING_DELETE, &gl->gl_flags); gfs2_glock_put(gl); }