diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index ee8c3944015a..580d40a5ee57 100644 --- a/fs/xfs/xfs_buf.c +++ b/fs/xfs/xfs_buf.c @@ -1756,6 +1756,7 @@ xfs_alloc_buftarg( return btp; error_free: + fs_put_dax(btp->bt_daxdev, mp); kfree(btp); return ERR_PTR(error); }