]> err.no Git - linux-2.6/commit
NTFS: Fix several occurences of a bug where we would perform 'var & ~const'
authorAnton Altaparmakov <aia21@cantab.net>
Sat, 25 Jun 2005 15:51:58 +0000 (16:51 +0100)
committerAnton Altaparmakov <aia21@cantab.net>
Sat, 25 Jun 2005 15:51:58 +0000 (16:51 +0100)
commit3bd1f4a173a3445f9919c21e775de2d8b9deacf8
tree6b32056b5b63d41fc5d032318ed0f94dbc562288
parentca8fd7a0c6aa835e8014830b290cb965e85ac88e
NTFS: Fix several occurences of a bug where we would perform 'var & ~const'
      with a 64-bit variable and a int, i.e. 32-bit, constant.  This causes
      the higher order 32-bits of the 64-bit variable to be zeroed.  To fix
      this cast the 'const' to the same 64-bit type as 'var'.

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
fs/ntfs/ChangeLog
fs/ntfs/dir.c
fs/ntfs/inode.h
fs/ntfs/lcnalloc.c
fs/ntfs/logfile.c