Commit d6d5c90
xfs: cleanup xfs_getfsmap_rtdev_rtbitmap
Use mp->m_sb.sb_rblocks to calculate the end instead of sb_rextents that
needs a conversion, use consistent names to xfs_rtblock_t types, and
only calculated them by the time they are needed. Remove the pointless
"high" local variable that only has a single user.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>1 parent 9154b50 commit d6d5c90
1 file changed
Lines changed: 12 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
754 | 754 | | |
755 | 755 | | |
756 | 756 | | |
757 | | - | |
758 | | - | |
759 | | - | |
| 757 | + | |
760 | 758 | | |
761 | 759 | | |
762 | 760 | | |
763 | | - | |
| 761 | + | |
764 | 762 | | |
765 | 763 | | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | 764 | | |
770 | 765 | | |
771 | 766 | | |
772 | 767 | | |
| 768 | + | |
| 769 | + | |
773 | 770 | | |
774 | | - | |
| 771 | + | |
775 | 772 | | |
776 | 773 | | |
777 | 774 | | |
778 | 775 | | |
779 | | - | |
780 | | - | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
781 | 780 | | |
782 | 781 | | |
783 | 782 | | |
784 | 783 | | |
785 | 784 | | |
786 | 785 | | |
787 | 786 | | |
788 | | - | |
789 | | - | |
790 | | - | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
791 | 790 | | |
792 | 791 | | |
793 | 792 | | |
| |||
0 commit comments