[2.6-BK-URL] NTFS: Final sparse related cleanups.

From: Anton Altaparmakov
Date: Sat Sep 25 2004 - 19:25:33 EST


Hi Linus, please do a

bk pull bk://linux-ntfs.bkbits.net/ntfs-2.6

These are just a few more cleanups, mostly that Al suggested.

Please apply. Thanks!

For the benefit of non-BK users and to make code review easier, I am
sending each ChangeSet in a separate email as a diff -u style patch.

Best regards,

Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/, http://www-stu.christs.cam.ac.uk/~aia21/

This will update the following files:

fs/ntfs/ChangeLog | 1 +
fs/ntfs/dir.c | 3 +--
fs/ntfs/inode.c | 2 +-
fs/ntfs/layout.h | 4 ++--
fs/ntfs/logfile.h | 7 +++----
fs/ntfs/mft.c | 8 ++++----
fs/ntfs/super.c | 4 ++--
fs/ntfs/unistr.c | 2 +-
8 files changed, 15 insertions(+), 16 deletions(-)

through these ChangeSets:

<aia21@xxxxxxxxxx> (04/09/26 1.1983.1.1)
NTFS: Remove silly (__force le32) casts from __ntfs_is_magic{,p}
helper functions. Thanks to Al Viro for spotting them.

Signed-off-by: Anton Altaparmakov <aia21@xxxxxxxxxx>

<aia21@xxxxxxxxxx> (04/09/26 1.1990)
NTFS: Convert final enum (fs/ntfs/logfile.h) to define to silence last
bitwise sparse warning.

Signed-off-by: Anton Altaparmakov <aia21@xxxxxxxxxx>

<aia21@xxxxxxxxxx> (04/09/26 1.1991)
NTFS: Change {const_,}cpu_to_le{16,32}(0) to just 0 as suggested by Al Viro.

Signed-off-by: Anton Altaparmakov <aia21@xxxxxxxxxx>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/