NTFS: Fix a potential overflow by casting (index + 1) to s64 before doing a
authorAnton Altaparmakov <aia21@cantab.net>
Thu, 24 Nov 2005 13:41:33 +0000 (13:41 +0000)
committerAnton Altaparmakov <aia21@cantab.net>
Thu, 24 Nov 2005 13:41:33 +0000 (13:41 +0000)
commit3c6af7fa787f21f8873a050568ed892312899eb5
tree39f8df4d83f0f60ab9a1581a4ff2588ae870b5a8
parent33bc227e4e48ddadcf2eacb381c19df338f0a6c8
NTFS: Fix a potential overflow by casting (index + 1) to s64 before doing a
      left shift using PAGE_CACHE_SHIFT in fs/ntfs/file.c.  Thanks to Andrew
      Morton pointing this out to.

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
fs/ntfs/file.c