[PATCH] fs: Use ARRAY_SIZE macro
authorTobias Klauser <tklauser@nuerscht.ch>
Fri, 24 Mar 2006 11:15:34 +0000 (03:15 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Mar 2006 15:33:19 +0000 (07:33 -0800)
commite8c96f8c29d89af0c13dc2819a9a00575846ca18
treeb90ed0da4803df56a91be5979580e335af2d697c
parentb5029622ac86bb441dc5e641226fb1152fca02d7
[PATCH] fs: Use ARRAY_SIZE macro

Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove a
duplicate of ARRAY_SIZE.  Some trailing whitespaces are also deleted.

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Cc: David Howells <dhowells@redhat.com>
Cc: Dave Kleikamp <shaggy@austin.ibm.com>
Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Neil Brown <neilb@cse.unsw.edu.au>
Cc: Chris Mason <mason@suse.com>
Cc: Jeff Mahoney <jeffm@suse.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Nathan Scott <nathans@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
23 files changed:
fs/afs/cmservice.c
fs/compat_ioctl.c
fs/jfs/jfs_debug.c
fs/lockd/mon.c
fs/lockd/svc.c
fs/lockd/xdr.c
fs/nfs/inode.c
fs/nfs/mount_clnt.c
fs/nfs/nfs2xdr.c
fs/nfs/nfs3xdr.c
fs/nfs/nfs4xdr.c
fs/nfsctl.c
fs/nfsd/nfs4acl.c
fs/nfsd/nfs4callback.c
fs/nfsd/nfs4xdr.c
fs/nfsd/nfsctl.c
fs/nfsd/nfssvc.c
fs/nls/nls_euc-jp.c
fs/reiserfs/prints.c
fs/sysv/super.c
fs/udf/super.c
fs/xfs/linux-2.6/xfs_stats.c
fs/xfs/xfs_vnodeops.c