diff options
-rw-r--r-- | fs/squashfs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/squashfs/super.c b/fs/squashfs/super.c index 2da1715452ac..4619247d74ed 100644 --- a/fs/squashfs/super.c +++ b/fs/squashfs/super.c | |||
@@ -290,7 +290,7 @@ handle_fragments: | |||
290 | 290 | ||
291 | check_directory_table: | 291 | check_directory_table: |
292 | /* Sanity check directory_table */ | 292 | /* Sanity check directory_table */ |
293 | if (msblk->directory_table >= next_table) { | 293 | if (msblk->directory_table > next_table) { |
294 | err = -EINVAL; | 294 | err = -EINVAL; |
295 | goto failed_mount; | 295 | goto failed_mount; |
296 | } | 296 | } |