Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1720714
| From | Jonathan Corbet <corbet@lwn.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] swap: Remove obsolete sentence |
| Date | 2017-08-27 00:00 +0200 |
| Message-ID | <uiRhv-6Eh-5@gated-at.bofh.it> (permalink) |
| References | <uikYh-3o8-7@gated-at.bofh.it> |
| Organization | LWN.net |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] swap: Remove obsolete sentence Jonathan Corbet <corbet@lwn.net> - 2017-08-27 00:00 +0200
csiph-web