git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge trivial low-risk suspend hotkey bugzilla-5918 into release
[sfrench/cifs-2.6.git]
/
fs
/
efs
/
symlink.c
diff --git
a/fs/efs/symlink.c
b/fs/efs/symlink.c
index e249cf733a6bdb9b728b664a9910dff59edb8101..1d30d2ff440fa3fecb7448b25416dd8a2c13abfa 100644
(file)
--- a/
fs/efs/symlink.c
+++ b/
fs/efs/symlink.c
@@
-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 */
@@
-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);