Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1719996 > unrolled thread

[PATCH] swap: Remove obsolete sentence

Started byNikolay Borisov <nborisov@suse.com>
First post2017-08-25 13:30 +0200
Last post2017-08-27 00:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] swap: Remove obsolete sentence Nikolay Borisov <nborisov@suse.com> - 2017-08-25 13:30 +0200
    Re: [PATCH] swap: Remove obsolete sentence Jonathan Corbet <corbet@lwn.net> - 2017-08-27 00:00 +0200

#1719996 — [PATCH] swap: Remove obsolete sentence

FromNikolay Borisov <nborisov@suse.com>
Date2017-08-25 13:30 +0200
Subject[PATCH] swap: Remove obsolete sentence
Message-ID<uikYh-3o8-7@gated-at.bofh.it>
Currently there are no ->swap_{in,out} method in address_space_operations
sructure definition, so the statement that anything is going to be proxied
through them is wrong.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
---
 Documentation/filesystems/vfs.txt | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt
index 73e7d91f03dc..405a3df759b3 100644
--- a/Documentation/filesystems/vfs.txt
+++ b/Documentation/filesystems/vfs.txt
@@ -829,9 +829,7 @@ struct address_space_operations {
   swap_activate: Called when swapon is used on a file to allocate
 	space if necessary and pin the block lookup information in
 	memory. A return value of zero indicates success,
-	in which case this file can be used to back swapspace. The
-	swapspace operations will be proxied to this address space's
-	->swap_{out,in} methods.
+	in which case this file can be used to back swapspace.
 
   swap_deactivate: Called during swapoff on files where swap_activate
 	was successful.
-- 
2.7.4

[toc] | [next] | [standalone]


#1720714

FromJonathan Corbet <corbet@lwn.net>
Date2017-08-27 00:00 +0200
Message-ID<uiRhv-6Eh-5@gated-at.bofh.it>
In reply to#1719996
On Fri, 25 Aug 2017 14:29:00 +0300
Nikolay Borisov <nborisov@suse.com> wrote:

> Currently there are no ->swap_{in,out} method in address_space_operations
> sructure definition, so the statement that anything is going to be proxied
> through them is wrong.
> 
> Signed-off-by: Nikolay Borisov <nborisov@suse.com>
> ---
>  Documentation/filesystems/vfs.txt | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt
> index 73e7d91f03dc..405a3df759b3 100644
> --- a/Documentation/filesystems/vfs.txt
> +++ b/Documentation/filesystems/vfs.txt
> @@ -829,9 +829,7 @@ struct address_space_operations {
>    swap_activate: Called when swapon is used on a file to allocate
>  	space if necessary and pin the block lookup information in
>  	memory. A return value of zero indicates success,
> -	in which case this file can be used to back swapspace. The
> -	swapspace operations will be proxied to this address space's
> -	->swap_{out,in} methods.  
> +	in which case this file can be used to back swapspace.

Applied to the docs tree, thanks.

jon

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web