Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32958
b: refs/heads/master
c: 0aa9e4f
h: refs/heads/master
v: v3
  • Loading branch information
Josh Triplett authored and Linus Torvalds committed Jul 31, 2006
1 parent 64637c4 commit 6f59e34
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 6ecbc4e1a395062a8e99e4f5fe328f6ba166d9c8
refs/heads/master: 0aa9e4f147880b2d7d1eef1f0b45112af0e36f9f
3 changes: 2 additions & 1 deletion trunk/fs/efs/symlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ static int efs_symlink_readpage(struct file *file, struct page *page)

err = -ENAMETOOLONG;
if (size > 2 * EFS_BLOCKSIZE)
goto fail;
goto fail_notlocked;

lock_kernel();
/* read first 512 bytes of link target */
Expand All @@ -47,6 +47,7 @@ static int efs_symlink_readpage(struct file *file, struct page *page)
return 0;
fail:
unlock_kernel();
fail_notlocked:
SetPageError(page);
kunmap(page);
unlock_page(page);
Expand Down

0 comments on commit 6f59e34

Please sign in to comment.