Am 05.04.2010 16:12, schrieb Christoph Hellwig: > Split up the raw_getlength into separate generic, solaris and BSD > versions to reduce the ifdef maze a bit. The BSD variant still > is a complete maze, but to clean it up properly we'd need some > people using the BSD variants to figure out what code is used > for what variant. > > Signed-off-by: Christoph Hellwig <h...@lst.de>
Seems to leave some duplicate #ifdef CONFIG_BSD around, but that code is a mess anyway and maybe it's the bit of additional ugliness that makes someone of the BSD people clean it up. Anyway, it's definitely an improvement over the current code. Acked-by: Kevin Wolf <kw...@redhat.com>