swap: Remove obsolete sentence
PATCH 1/1 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 <[email protected]>
--- Documentation/filesystems/vfs.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
Documentation/filesystems/vfs.txt +1 -3
@@ -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.
Signature · 1 line
2.7.4
Quoted 14 lines · On Fri, 25 Aug 2017 14:29:00 +0300 Nikolay Borisov <[email protected]> wrote:
Currently there are no ->swap_{in,out} method in
address_space_operationssructure definition, so the statement that anything is going to be proxied through them is wrong.Signed-off-by Nikolay Borisov <[email protected]>--- Documentation/filesystems/vfs.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)Documentation/filesystems/vfs.txt +0
-0
Documentation/filesystems/vfs.txt struct address_space_operations { · line 832
Quoted 7 lines
Documentation/filesystems/vfs.txt +1
-3@@ -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