diff options
Diffstat (limited to 'fs/isofs')
-rw-r--r-- | fs/isofs/export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/isofs/export.c b/fs/isofs/export.c index 1d3804492aa7..2b4f2358eadb 100644 --- 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, | |||
175 | { | 175 | { |
176 | struct isofs_fid *ifid = (struct isofs_fid *)fid; | 176 | struct isofs_fid *ifid = (struct isofs_fid *)fid; |
177 | 177 | ||
178 | if (fh_type != 2) | 178 | if (fh_len < 2 || fh_type != 2) |
179 | return NULL; | 179 | return NULL; |
180 | 180 | ||
181 | return isofs_export_iget(sb, | 181 | return isofs_export_iget(sb, |