]> git.karo-electronics.de Git - linux-beck.git/commit
xfs: use xfs_icluster_size_fsb in xfs_ialloc_inode_init
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)
commit6e0c7b8c3ea62d684af267d34fc015253e7cd6e5
treeaf75e2ae1734eb7cbf0f79a1e4687f3cabe704e7
parenta2ba07b2d2215bed560aa67c84275304314d9691
xfs: use xfs_icluster_size_fsb in xfs_ialloc_inode_init

Use xfs_icluster_size_fsb() in xfs_ialloc_inode_init(), 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_ialloc.c