diff options
| -rw-r--r-- | fs/ocfs2/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c index 8a1875848080..8e9c4a47d819 100644 --- a/fs/ocfs2/dir.c +++ b/fs/ocfs2/dir.c | |||
| @@ -1310,7 +1310,7 @@ static int ocfs2_expand_inline_dir(struct inode *dir, struct buffer_head *di_bh, | |||
| 1310 | NULL); | 1310 | NULL); |
| 1311 | if (ret) { | 1311 | if (ret) { |
| 1312 | mlog_errno(ret); | 1312 | mlog_errno(ret); |
| 1313 | goto out; | 1313 | goto out_commit; |
| 1314 | } | 1314 | } |
| 1315 | 1315 | ||
| 1316 | ret = ocfs2_journal_dirty(handle, di_bh); | 1316 | ret = ocfs2_journal_dirty(handle, di_bh); |
| @@ -1336,7 +1336,7 @@ static int ocfs2_expand_inline_dir(struct inode *dir, struct buffer_head *di_bh, | |||
| 1336 | len, 0, NULL); | 1336 | len, 0, NULL); |
| 1337 | if (ret) { | 1337 | if (ret) { |
| 1338 | mlog_errno(ret); | 1338 | mlog_errno(ret); |
| 1339 | goto out; | 1339 | goto out_commit; |
| 1340 | } | 1340 | } |
| 1341 | } | 1341 | } |
| 1342 | 1342 | ||
