Skip to content
Commit 787fb6bc authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

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: default avatarMiklos Szeredi <mszeredi@suse.cz>
parent cbdf35bc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment