Re: [PATCH 2/3] fs: move ramfs_aops to libfs

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

 



On Mon, Jun 14, 2021 at 08:15:11AM +0200, Christoph Hellwig wrote:
> Move the ramfs aops to libfs and reuse them for kernfs and configfs.
> Thosw two did not wire up ->set_page_dirty before and now get
> __set_page_dirty_no_writeback, which is the right one for no-writeback
> address_space usage.
> 
> Drop the now unused exports of the libfs helpers only used for
> ramfs-style pagecache usage.
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
>  fs/configfs/inode.c |  8 +-------
>  fs/kernfs/inode.c   |  8 +-------
>  fs/libfs.c          | 17 +++++++++++++----
>  fs/ramfs/inode.c    |  9 +--------
>  include/linux/fs.h  |  5 +----
>  5 files changed, 17 insertions(+), 30 deletions(-)
> 


Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux