lkml.org 
[lkml]   [2006]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateThu, 12 Jan 2006 18:33:54 -0800
FromAndrew Morton <>
SubjectRe: [PATCH 3/3] Fix problems on multi-TB filesystem and file
"Takashi Sato" <sho@tnes.nec.co.jp> wrote:
>
> his fix was proposed by Trond Myklebust. He says:
> The type "sector_t" is heavily tied in to the block layer interface
> as an offset/handle to a block, and is subject to a supposedly
> block-specific configuration option: CONFIG_LBD. Despite this, it is
> used in struct kstatfs to save a couple of bytes on the stack
> whenever we call the filesystems' ->statfs().
>
> So kstatfs's entries related to blocks are invalid on statfs64 for a
> network filesystem which has more than 2^32-1 blocks when CONFIG_LBD
> is disabled.
>

That makes sense, thanks.
-
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: 2006-01-13 03:36    [from the cache]
©2003-2010