]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ntfs_init_locked_inode(): fix array indexing
authorAndrew Morton <akpm@linux-foundation.org>
Sun, 22 Jul 2007 14:09:40 +0000 (16:09 +0200)
committerAdrian Bunk <bunk@stusta.de>
Sun, 22 Jul 2007 14:09:40 +0000 (16:09 +0200)
commit0343e394510ea3859a5ccb030984b4cdc74281cb
tree868537a070699e2600b7c098a77c6aad0470918f
parent4d840dbb4d5912e419822cbf5b6bd79abe4e2103
ntfs_init_locked_inode(): fix array indexing

Local variable `i' is a byte-counter.  Don't use it as an index into an array
of le32's.

Reported-by: "young dave" <hidave.darkstar@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
fs/ntfs/inode.c