git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tmpfs,ceph,gfs2,isofs,reiserfs,xfs: fix fh_len checking
[pandora-kernel.git]
/
fs
/
isofs
/
export.c
diff --git
a/fs/isofs/export.c
b/fs/isofs/export.c
index
1d38044
..
2b4f235
100644
(file)
--- a/
fs/isofs/export.c
+++ b/
fs/isofs/export.c
@@
-175,7
+175,7
@@
static struct dentry *isofs_fh_to_parent(struct super_block *sb,
{
struct isofs_fid *ifid = (struct isofs_fid *)fid;
- if (fh_type != 2)
+ if (fh_
len < 2 || fh_
type != 2)
return NULL;
return isofs_export_iget(sb,