]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
xfs: rename variables in xfs_iflush_cluster for clarity
authorDave Chinner <dchinner@redhat.com>
Wed, 18 May 2016 04:09:46 +0000 (14:09 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 18 May 2016 04:09:46 +0000 (14:09 +1000)
commit194293631d009254348f43710a7673bbb84a4172
treeb6793ca67c55e30b88c58792374cc0d39ce74f09
parent5a90e53e8124d3ebe4b2a6309fa3c3225c23a62a
xfs: rename variables in xfs_iflush_cluster for clarity

The cluster inode variable uses unconventional naming - iq - which
makes it hard to distinguish it between the inode passed into the
function - ip - and that is a vector for mistakes to be made.
Rename all the cluster inode variables to use a more conventional
prefixes to reduce potential future confusion (cilist, cilist_size,
cip).

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_inode.c