Thread (19 messages) 19 messages, 5 authors, 2021-06-21

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

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2021-06-14 06:24:31
Also in: linux-mm, lkml

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@lst.de>
---
 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@linuxfoundation.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help