]> git.karo-electronics.de Git - linux-beck.git/commit
[XFS] Remove the BPCSHIFT and NB* based macros from XFS.
authorTim Shimmin <tes@sgi.com>
Fri, 23 Nov 2007 05:30:42 +0000 (16:30 +1100)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Thu, 7 Feb 2008 07:17:58 +0000 (18:17 +1100)
commite6a4b37f38dca6e86b2648d172946700ee921e12
treea094d91f8b864a33735a54c12a792bb084f7c5be
parentf7b7c3673e6e225de337abe00e14dc048e44782b
[XFS] Remove the BPCSHIFT and NB* based macros from XFS.

The BPCSHIFT based macros, btoc*, ctob*, offtoc* and ctooff are either not
used or don't need to be used. The NDPP, NDPP, NBBY macros don't need to
be used but instead are replaced directly by PAGE_SIZE and PAGE_CACHE_SIZE
where appropriate. Initial patch and motivation from Nicolas Kaiser.

SGI-PV: 971186
SGI-Modid: xfs-linux-melb:xfs-kern:30096a

Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/linux-2.6/xfs_linux.h
fs/xfs/linux-2.6/xfs_lrw.c
fs/xfs/quota/xfs_qm.h
fs/xfs/xfs_bmap.c
fs/xfs/xfs_itable.c
fs/xfs/xfs_log.c
fs/xfs/xfs_vnodeops.c