]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: constify xfs_item_ops
authorChristoph Hellwig <hch@infradead.org>
Fri, 28 Oct 2011 09:54:24 +0000 (09:54 +0000)
committerAlex Elder <aelder@sgi.com>
Tue, 8 Nov 2011 16:48:23 +0000 (10:48 -0600)
commit54c4babf2c3e17a031e877d78276391b946993bd
treeb09ad40176f53006d57669255991a42ee38eb488
parent7d1bcc3f20c2a2c870cf1bda45cbd3d2776862ea
xfs: constify xfs_item_ops

The log item ops aren't nessecarily the biggest exploit vector, but marking
them const is easy enough.  Also remove the unused xfs_item_ops_t typedef
while we're at it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_buf_item.c
fs/xfs/xfs_dquot_item.c
fs/xfs/xfs_extfree_item.c
fs/xfs/xfs_inode_item.c
fs/xfs/xfs_log.c
fs/xfs/xfs_log.h
fs/xfs/xfs_trans.h