diff options
Diffstat (limited to 'fs/xfs/xfs_bmap_item.c')
-rw-r--r-- | fs/xfs/xfs_bmap_item.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/xfs_bmap_item.c b/fs/xfs/xfs_bmap_item.c index 52c273b6d403..72d4f6d30ba5 100644 --- a/fs/xfs/xfs_bmap_item.c +++ b/fs/xfs/xfs_bmap_item.c @@ -510,6 +510,9 @@ xfs_bui_item_recover( /* Commit transaction, which frees tp. */ error = xlog_recover_trans_commit(tp, dfcp); + if (error || count == 0) + goto err_unlock; + error = xfs_defer_capture_inode(*dfcp, ip); if (error) goto err_unlock; return 0; |