Commit bd4da04
bcachefs: Move the ei_flags setting to after initialization
`inode->ei_flags` setting and cleaning should be done after initialization,
otherwise the operation is invalid.
Fixes: 9ca4853 ("bcachefs: Fix quota support for snapshots")
Signed-off-by: Youling Tang <tangyouling@kylinos.cn>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>1 parent 2fe79ce commit bd4da04
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1497 | 1497 | | |
1498 | 1498 | | |
1499 | 1499 | | |
1500 | | - | |
1501 | | - | |
1502 | | - | |
1503 | | - | |
1504 | | - | |
1505 | 1500 | | |
1506 | 1501 | | |
1507 | 1502 | | |
| |||
1513 | 1508 | | |
1514 | 1509 | | |
1515 | 1510 | | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
1516 | 1514 | | |
1517 | 1515 | | |
1518 | 1516 | | |
| |||
0 commit comments