Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377634
b: refs/heads/master
c: 42c832d
h: refs/heads/master
v: v3
  • Loading branch information
Theodore Ts'o committed Jul 1, 2013
1 parent f481d79 commit 4f28128
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 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: 353eefd3386982ab8f7e14de079ec347dfe05509
refs/heads/master: 42c832debbbf819f6c4ad8601baa559c44105ba4
11 changes: 7 additions & 4 deletions trunk/fs/ext4/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1061,10 +1061,13 @@ static int ext4_write_end(struct file *file,
}
}

if (ext4_has_inline_data(inode))
copied = ext4_write_inline_data_end(inode, pos, len,
copied, page);
else
if (ext4_has_inline_data(inode)) {
ret = ext4_write_inline_data_end(inode, pos, len,
copied, page);
if (ret < 0)
goto errout;
copied = ret;
} else
copied = block_write_end(file, mapping, pos,
len, copied, page, fsdata);

Expand Down

0 comments on commit 4f28128

Please sign in to comment.