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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux