[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>
Showing
- fs/afs/cmservice.c 1 addition, 1 deletionfs/afs/cmservice.c
- fs/compat_ioctl.c 2 additions, 3 deletionsfs/compat_ioctl.c
- fs/jfs/jfs_debug.c 1 addition, 1 deletionfs/jfs/jfs_debug.c
- fs/lockd/mon.c 3 additions, 3 deletionsfs/lockd/mon.c
- fs/lockd/svc.c 1 addition, 1 deletionfs/lockd/svc.c
- fs/lockd/xdr.c 1 addition, 1 deletionfs/lockd/xdr.c
- fs/nfs/inode.c 2 additions, 2 deletionsfs/nfs/inode.c
- fs/nfs/mount_clnt.c 1 addition, 1 deletionfs/nfs/mount_clnt.c
- fs/nfs/nfs2xdr.c 1 addition, 1 deletionfs/nfs/nfs2xdr.c
- fs/nfs/nfs3xdr.c 1 addition, 1 deletionfs/nfs/nfs3xdr.c
- fs/nfs/nfs4xdr.c 1 addition, 1 deletionfs/nfs/nfs4xdr.c
- fs/nfsctl.c 1 addition, 1 deletionfs/nfsctl.c
- fs/nfsd/nfs4acl.c 2 additions, 2 deletionsfs/nfsd/nfs4acl.c
- fs/nfsd/nfs4callback.c 2 additions, 2 deletionsfs/nfsd/nfs4callback.c
- fs/nfsd/nfs4xdr.c 1 addition, 1 deletionfs/nfsd/nfs4xdr.c
- fs/nfsd/nfsctl.c 1 addition, 1 deletionfs/nfsd/nfsctl.c
- fs/nfsd/nfssvc.c 2 additions, 2 deletionsfs/nfsd/nfssvc.c
- fs/nls/nls_euc-jp.c 2 additions, 4 deletionsfs/nls/nls_euc-jp.c
- fs/reiserfs/prints.c 3 additions, 6 deletionsfs/reiserfs/prints.c
- fs/sysv/super.c 2 additions, 2 deletionsfs/sysv/super.c
Loading
Please register or sign in to comment