Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5125
b: refs/heads/master
c: 0cfc11e
h: refs/heads/master
i:
  5123: 3c67109
v: v3
  • Loading branch information
Carsten Otte authored and Linus Torvalds committed Jul 27, 2005
1 parent 7d994d1 commit daa02ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 1872bcebbcd6ad7ddd99e92fb1e4f3d19e73919c
refs/heads/master: 0cfc11ed45e4c00750039e5a18c0fc0d681e19db
2 changes: 1 addition & 1 deletion trunk/fs/ext2/xip.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ __ext2_get_sector(struct inode *inode, sector_t offset, int create,
*result = tmp.b_blocknr;

/* did we get a sparse block (hole in the file)? */
if (!(*result)) {
if (!tmp.b_blocknr && !rc) {
BUG_ON(create);
rc = -ENODATA;
}
Expand Down

0 comments on commit daa02ef

Please sign in to comment.