1
0
Fork 0

swap: Remove obsolete sentence

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>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
zero-colors
Nikolay Borisov 2017-08-25 14:29:00 +03:00 committed by Jonathan Corbet
parent 95a40b86c4
commit cc4bbaae54
1 changed files with 1 additions and 3 deletions

View File

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