[PATCH] nbd: Convert to DEFINE_SHOW_ATTRIBUTE

2021-02-05 Thread winndows
From: Liao Pingfang Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Liao Pingfang --- drivers/block/nbd.c | 28 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index e6ea5d3..8b9622e 1006

[PATCH] docs: filesystems: vfs: Correct the struct name

2021-01-10 Thread winndows
From: Liao Pingfang The struct name should be file_system_type instead of file_system_operations. Signed-off-by: Liao Pingfang --- Documentation/filesystems/vfs.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/filesystems/vfs.rst b/Documentation/filesystem

[PATCH] fs: Remove the comment for argument "cred" of vfs_open()

2021-01-10 Thread winndows
From: Liao Pingfang Remove the comment for argument "cred" of vfs_open(), as it was removed. Fixes: ae2bb293a3e8 ("get rid of cred argument of vfs_open() and do_dentry_open()") Signed-off-by: Liao Pingfang --- fs/open.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/open.c b/fs/open.c

[PATCH] writeback: Remove useless comment for __wakeup_flusher_threads_bdi()

2021-01-10 Thread winndows
From: Liao Pingfang Remove useless comment for __wakeup_flusher_threads_bdi(), as argument 'nr_pages' was removed. Fixes: e8e8a0c6c9bf ("writeback: move nr_pages == 0 logic to one location") Signed-off-by: Liao Pingfang --- fs/fs-writeback.c | 4 1 file changed, 4 deletions(-) diff --git

[PATCH] docs/mm: concepts.rst: Correct the threshold to low watermark

2020-12-26 Thread winndows
From: Liao Pingfang It should be "low watermark" where we wake up kswapd daemon. Signed-off-by: Liao Pingfang --- Documentation/admin-guide/mm/concepts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/admin-guide/mm/concepts.rst b/Documentation/admin-guide