diff options
Diffstat (limited to 'fs/ocfs2/ioctl.c')
-rw-r--r-- | fs/ocfs2/ioctl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ocfs2/ioctl.c b/fs/ocfs2/ioctl.c index 8ca3c29accbf..490229f43731 100644 --- a/fs/ocfs2/ioctl.c +++ b/fs/ocfs2/ioctl.c | |||
@@ -413,11 +413,12 @@ int ocfs2_info_handle_freeinode(struct inode *inode, | |||
413 | } | 413 | } |
414 | 414 | ||
415 | status = ocfs2_info_scan_inode_alloc(osb, inode_alloc, blkno, oifi, i); | 415 | status = ocfs2_info_scan_inode_alloc(osb, inode_alloc, blkno, oifi, i); |
416 | if (status < 0) | ||
417 | goto bail; | ||
418 | 416 | ||
419 | iput(inode_alloc); | 417 | iput(inode_alloc); |
420 | inode_alloc = NULL; | 418 | inode_alloc = NULL; |
419 | |||
420 | if (status < 0) | ||
421 | goto bail; | ||
421 | } | 422 | } |
422 | 423 | ||
423 | o2info_set_request_filled(&oifi->ifi_req); | 424 | o2info_set_request_filled(&oifi->ifi_req); |