]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit272e42b215c52d32e06bf035c1f6b70baa6716bd
treeb09ad40176f53006d57669255991a42ee38eb488
parentb52a360b2aa1c59ba9970fb0f52bbb093fcc7a24
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