Commit 6ef6849
ext4: use ext4_group_desc_free() in ext4_put_super() to save some duplicated code
The only difference here is that ->s_group_desc and ->s_flex_groups share
the same rcu read lock here but it is not necessary. In other places they
do not share the lock at all.
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20230323140517.1070239-4-yanaijie@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>1 parent 1f79467 commit 6ef6849
1 file changed
Lines changed: 14 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1226 | 1226 | | |
1227 | 1227 | | |
1228 | 1228 | | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
1229 | 1242 | | |
1230 | 1243 | | |
1231 | 1244 | | |
1232 | 1245 | | |
1233 | | - | |
1234 | 1246 | | |
1235 | 1247 | | |
1236 | 1248 | | |
| |||
1281 | 1293 | | |
1282 | 1294 | | |
1283 | 1295 | | |
| 1296 | + | |
1284 | 1297 | | |
1285 | | - | |
1286 | | - | |
1287 | | - | |
1288 | | - | |
1289 | 1298 | | |
1290 | 1299 | | |
1291 | 1300 | | |
| |||
4757 | 4766 | | |
4758 | 4767 | | |
4759 | 4768 | | |
4760 | | - | |
4761 | | - | |
4762 | | - | |
4763 | | - | |
4764 | | - | |
4765 | | - | |
4766 | | - | |
4767 | | - | |
4768 | | - | |
4769 | | - | |
4770 | | - | |
4771 | | - | |
4772 | | - | |
4773 | 4769 | | |
4774 | 4770 | | |
4775 | 4771 | | |
| |||
0 commit comments