Commit bde86b4
xfs: factor out a xfs_growfs_check_rtgeom helper
Split the check that the rtsummary fits into the log into a separate
helper, and use xfs_growfs_rt_alloc_fake_mount to calculate the new RT
geometry.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
[djwong: avoid division for the 0-rtx growfs check]
Signed-off-by: Darrick J. Wong <djwong@kernel.org>1 parent fc233f1 commit bde86b4
1 file changed
Lines changed: 29 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
1026 | 1051 | | |
1027 | 1052 | | |
1028 | 1053 | | |
| |||
1031 | 1056 | | |
1032 | 1057 | | |
1033 | 1058 | | |
1034 | | - | |
1035 | | - | |
1036 | | - | |
1037 | 1059 | | |
1038 | 1060 | | |
1039 | 1061 | | |
| |||
1082 | 1104 | | |
1083 | 1105 | | |
1084 | 1106 | | |
1085 | | - | |
1086 | 1107 | | |
1087 | | - | |
| 1108 | + | |
1088 | 1109 | | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | 1110 | | |
1093 | | - | |
1094 | | - | |
1095 | | - | |
1096 | | - | |
1097 | | - | |
1098 | | - | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
1099 | 1114 | | |
1100 | 1115 | | |
1101 | 1116 | | |
| |||
0 commit comments