Repository navigation
Commit 787fb6b
Miklos Szeredi
vfs: add whiteout support
Whiteout isn't actually a new file type, but is represented as a char
device (Linus's idea) with 0/0 device number.
This has several advantages compared to introducing a new whiteout file
type:
- no userspace API changes (e.g. trivial to make backups of upper layer
filesystem, without losing whiteouts)
- no fs image format changes (you can boot an old kernel/fsck without
whiteout support and things won't break)
- implementation is trivial
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>1 parent cbdf35b commit 787fb6b
2 files changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4346 | 4346 | | |
4347 | 4347 | | |
4348 | 4348 | | |
| 4349 | + | |
| 4350 | + | |
| 4351 | + | |
| 4352 | + | |
| 4353 | + | |
| 4354 | + | |
| 4355 | + | |
| 4356 | + | |
| 4357 | + | |
| 4358 | + | |
| 4359 | + | |
| 4360 | + | |
| 4361 | + | |
| 4362 | + | |
4349 | 4363 | | |
4350 | 4364 | | |
4351 | 4365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
225 | 232 | | |
226 | 233 | | |
227 | 234 | | |
| |||
1398 | 1405 | | |
1399 | 1406 | | |
1400 | 1407 | | |
| 1408 | + | |
1401 | 1409 | | |
1402 | 1410 | | |
1403 | 1411 | | |
| |||
1628 | 1636 | | |
1629 | 1637 | | |
1630 | 1638 | | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
1631 | 1642 | | |
1632 | 1643 | | |
1633 | 1644 | | |
| |||
0 commit comments