Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186439
b: refs/heads/master
c: ddfd1f0
h: refs/heads/master
i:
  186437: fddbe5d
  186435: 51fc596
  186431: 4d345f0
v: v3
  • Loading branch information
Joern Engel committed Nov 23, 2009
1 parent 0b20ae6 commit 1432ccc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: ef6ada3de49074a913fb72f163657158be2c0e98
refs/heads/master: ddfd1f04b7bc557c1fe9b110e99cebb2e19d4993
8 changes: 6 additions & 2 deletions trunk/fs/logfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,14 @@ static int logfs_unlink(struct inode *dir, struct dentry *dentry)
inode->i_ctime = dir->i_ctime = dir->i_mtime = CURRENT_TIME;

page = logfs_get_dd_page(dir, dentry);
if (!page)
if (!page) {
kfree(ta);
return -ENOENT;
if (IS_ERR(page))
}
if (IS_ERR(page)) {
kfree(ta);
return PTR_ERR(page);
}
index = page->index;
page_cache_release(page);

Expand Down

0 comments on commit 1432ccc

Please sign in to comment.