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

From: Jan Engelhardt
Date: Wed May 16 2007 - 04:09:34 EST



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
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/