diff options
-rw-r--r-- | fs/xfs/xfs_log_recover.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c index 1f83298f90aa..a8039431b86f 100644 --- a/fs/xfs/xfs_log_recover.c +++ b/fs/xfs/xfs_log_recover.c | |||
@@ -2282,7 +2282,9 @@ xlog_recover_do_inode_trans( | |||
2282 | * invalidate the buffer when we write it out below. | 2282 | * invalidate the buffer when we write it out below. |
2283 | */ | 2283 | */ |
2284 | imap.im_blkno = 0; | 2284 | imap.im_blkno = 0; |
2285 | xfs_imap(log->l_mp, NULL, ino, &imap, 0); | 2285 | error = xfs_imap(log->l_mp, NULL, ino, &imap, 0); |
2286 | if (error) | ||
2287 | goto error; | ||
2286 | } | 2288 | } |
2287 | 2289 | ||
2288 | /* | 2290 | /* |