Re: [RFC][PATCH 12/14] ext2 whiteout support

Jan Engelhardt
2007-05-16T08:09:33Z

On May 14 2007 15:14, Bharata B Rao wrote:
>
>--- a/fs/ext2/dir.c
>+++ b/fs/ext2/dir.c
>@@ -218,6 +218,7 @@ static unsigned char ext2_filetype_table
> [EXT2_FT_FIFO] = DT_FIFO,
> [EXT2_FT_SOCK] = DT_SOCK,
> [EXT2_FT_SYMLINK] = DT_LNK,
>+ [EXT2_FT_WHT] = DT_WHT,
> };
>
> #define S_SHIFT 12
>@@ -1292,7 +1301,7 @@ static struct file_system_type ext2_fs_t
> .name = "ext2",
> .get_sb = ext2_get_sb,
> .kill_sb = kill_block_super,
>- .fs_flags = FS_REQUIRES_DEV,
>+ .fs_flags = FS_REQUIRES_DEV | FS_WHT,
> };
>

Hum. It's always so short. Would it offend someone to make that
DT_WHITEOUT and/or FS_WHITEOUT?

Jan
--