lkml.org 
[lkml]   [2007]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 12/14] ext2 whiteout support

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

\
 
 \ /
  Last update: 2007-05-16 10:11    [W:0.227 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site