projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1af7d1
)
ocfs2: Jump to correct label in ocfs2_expand_inline_dir()
author
Tao Ma
<tao.ma@oracle.com>
Thu, 21 Aug 2008 06:14:27 +0000
(14:14 +0800)
committer
Mark Fasheh
<mfasheh@suse.com>
Fri, 22 Aug 2008 18:09:02 +0000
(11:09 -0700)
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>
fs/ocfs2/dir.c
patch
|
blob
|
history
diff --git
a/fs/ocfs2/dir.c
b/fs/ocfs2/dir.c
index 8a18758480805504c453ed291908b36764b9f722..8e9c4a47d81993731774ed73a77fdb393306a0c8 100644
(file)
--- 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
;
}
}