* [PATCH] swap: Remove obsolete sentence
@ 2017-08-25 11:29 Nikolay Borisov
2017-08-26 21:56 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Nikolay Borisov @ 2017-08-25 11:29 UTC (permalink / raw)
To: corbet; +Cc: viro, linux-doc, linux-kernel, Nikolay Borisov
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] swap: Remove obsolete sentence
2017-08-25 11:29 [PATCH] swap: Remove obsolete sentence Nikolay Borisov
@ 2017-08-26 21:56 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2017-08-26 21:56 UTC (permalink / raw)
To: Nikolay Borisov; +Cc: viro, linux-doc, linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-26 21:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-25 11:29 [PATCH] swap: Remove obsolete sentence Nikolay Borisov
2017-08-26 21:56 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox