lkml.org 
[lkml]   [2021]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC 3/3] headers: repurpose linux/fs_types.h
On Tue, Dec 07, 2021 at 04:09:27PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> linux/fs_types.h traditionally describes the types of file systems we
> deal with, but the file name could also be interpreted to refer to
> data types used for interacting with file systems, similar to
> linux/spinlock_types.h or linux/mm_types.h.
>
> Splitting out the data type definitions from the generic header helps
> avoid excessive indirect include hierarchies, so steal this file
> name and repurpose it to contain the definitions for file, inode,
> address_space, super_block, file_lock, quota and filename, along with
> their respective callback operations, moving them out of linux/fs.h.
>
> The preprocessed linux/fs_types.h is now about 50KB, compared to
> over 1MB for the traditional linux/fs.h, and can be included from
> most other headers that currently rely on type definitions from
> linux/fs.h.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---

I tried to apply the series to take a closer look but it fails to apply
cleanup down to v5.15 and any release after that. What's the base I
should use for this?

\
 
 \ /
  Last update: 2021-12-08 11:05    [W:0.233 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site