Commit 2a4f651
gfs2: Simplify function need_sync
This patch simplifies function need_sync by eliminating a variable in
favor of just returning the appropriate value as soon as we know it.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>1 parent e34c16c commit 2a4f651
1 file changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1107 | 1107 | | |
1108 | 1108 | | |
1109 | 1109 | | |
1110 | | - | |
| 1110 | + | |
1111 | 1111 | | |
1112 | 1112 | | |
1113 | 1113 | | |
1114 | 1114 | | |
1115 | 1115 | | |
1116 | | - | |
1117 | 1116 | | |
1118 | 1117 | | |
1119 | | - | |
| 1118 | + | |
1120 | 1119 | | |
1121 | 1120 | | |
1122 | 1121 | | |
| |||
1128 | 1127 | | |
1129 | 1128 | | |
1130 | 1129 | | |
1131 | | - | |
| 1130 | + | |
1132 | 1131 | | |
1133 | 1132 | | |
1134 | | - | |
| 1133 | + | |
1135 | 1134 | | |
1136 | 1135 | | |
1137 | 1136 | | |
1138 | 1137 | | |
1139 | 1138 | | |
1140 | | - | |
| 1139 | + | |
1141 | 1140 | | |
1142 | 1141 | | |
1143 | | - | |
| 1142 | + | |
1144 | 1143 | | |
1145 | 1144 | | |
1146 | 1145 | | |
| |||
1156 | 1155 | | |
1157 | 1156 | | |
1158 | 1157 | | |
1159 | | - | |
| 1158 | + | |
1160 | 1159 | | |
1161 | 1160 | | |
1162 | 1161 | | |
| |||
0 commit comments