diff options
author | Tao Ma <tao.ma@oracle.com> | 2008-08-21 14:14:27 +0800 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-08-22 11:09:02 -0700 |
commit | 83cab5338fa8c74f979223698c8d4cc88f2ab68e (patch) | |
tree | 3acf8331abe32db8204ba0aba7a708cb1c5a5912 /fs/ocfs2/dir.c | |
parent | a1af7d15a18d1e375b0a6fee93789a0bbfe088b4 (diff) | |
download | linux-83cab5338fa8c74f979223698c8d4cc88f2ab68e.tar.gz linux-83cab5338fa8c74f979223698c8d4cc88f2ab68e.tar.bz2 linux-83cab5338fa8c74f979223698c8d4cc88f2ab68e.zip |
ocfs2: Jump to correct label in ocfs2_expand_inline_dir()
When we fail to insert extent in ocfs2_expand_inline_dir(), we should go to
out_commit, not out.
Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/dir.c')
-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, NULL); if (ret) { mlog_errno(ret); - goto out; + goto out_commit; } 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, len, 0, NULL); if (ret) { mlog_errno(ret); - goto out; + goto out_commit; } } |