Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89595
b: refs/heads/master
c: 58dadcd
h: refs/heads/master
i:
  89593: fe7d5b0
  89591: d0f1107
v: v3
  • Loading branch information
Julia Lawall authored and Mark Fasheh committed Apr 18, 2008
1 parent 9f97fb7 commit 88b43af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4d0ddb2ce25db2254d468233d942276ecf40bff8
refs/heads/master: 58dadcdbc2584db050969f9781727fc5a3f618db
6 changes: 3 additions & 3 deletions trunk/fs/ocfs2/aops.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,11 +467,11 @@ handle_t *ocfs2_start_walk_page_trans(struct inode *inode,
unsigned to)
{
struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
handle_t *handle = NULL;
handle_t *handle;
int ret = 0;

handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
if (!handle) {
if (IS_ERR(handle)) {
ret = -ENOMEM;
mlog_errno(ret);
goto out;
Expand All @@ -487,7 +487,7 @@ handle_t *ocfs2_start_walk_page_trans(struct inode *inode,
}
out:
if (ret) {
if (handle)
if (!IS_ERR(handle))
ocfs2_commit_trans(osb, handle);
handle = ERR_PTR(ret);
}
Expand Down

0 comments on commit 88b43af

Please sign in to comment.