summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap_util.c
diff options
context:
space:
mode:
authorBen Myers <bpm@sgi.com>2014-01-09 15:58:59 -0600
committerBen Myers <bpm@sgi.com>2014-01-09 15:58:59 -0600
commitdc16b186bb12c479b6a88bc280b34806a69199ad (patch)
treea465b0766e6e6c6a3dcedcb70e70ef8d2a4cf745 /fs/xfs/xfs_bmap_util.c
parent324bb26144e9be037227ff75fae1042d048a15b4 (diff)
parent6f96b3063cdd473c68664a190524ed966ac0cd92 (diff)
downloadop-kernel-dev-dc16b186bb12c479b6a88bc280b34806a69199ad.zip
op-kernel-dev-dc16b186bb12c479b6a88bc280b34806a69199ad.tar.gz
Merge branch 'xfs-misc' into for-next
A bugfix for an off-by-one in the remote attribute verifier, and a fix for a missing destroy_work_on_stack() in the allocation worker.
Diffstat (limited to 'fs/xfs/xfs_bmap_util.c')
-rw-r--r--fs/xfs/xfs_bmap_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_bmap_util.c b/fs/xfs/xfs_bmap_util.c
index 1394106..82e0dab 100644
--- a/fs/xfs/xfs_bmap_util.c
+++ b/fs/xfs/xfs_bmap_util.c
@@ -287,6 +287,7 @@ xfs_bmapi_allocate(
INIT_WORK_ONSTACK(&args->work, xfs_bmapi_allocate_worker);
queue_work(xfs_alloc_wq, &args->work);
wait_for_completion(&done);
+ destroy_work_on_stack(&args->work);
return args->result;
}
OpenPOWER on IntegriCloud