xfs: use xfs_icluster_size_fsb in xfs_ifree_cluster
authorJie Liu <jeff.liu@oracle.com>
Fri, 13 Dec 2013 04:51:49 +0000 (15:51 +1100)
committerDave Chinner <david@fromorbit.com>
Fri, 13 Dec 2013 04:51:49 +0000 (15:51 +1100)
commit982e939e4ddc8c00cb478fb4d725d0e3d18971cc
tree920c039974dfc0083af13cf207ea47a6df969a96
parent6e0c7b8c3ea62d684af267d34fc015253e7cd6e5
xfs: use xfs_icluster_size_fsb in xfs_ifree_cluster

Use xfs_icluster_size_fsb() in xfs_ifree_cluster(), rename variable
ninodes to inodes_per_cluster, the latter is more meaningful.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_inode.c