Skip to contentSkip to conversation

swap: Remove obsolete sentence

PATCH Applied Nikolay Borisov 2 participants 2 messages Aug 25, 2017 – Aug 26, 2017 Documentation

lore
Share & tools
lore
#0 lore raw

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.

---
 Documentation/filesystems/vfs.txt | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
Documentation/filesystems/vfs.txt +1 -3
index 73e7d91f03dc..405a3df759b3 100644
@@ -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
maintainer Applied
#1 lore raw
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_operations sructure definition, so the statement that anything is going to be proxied through them is wrong.

---
 Documentation/filesystems/vfs.txt | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
Documentation/filesystems/vfs.txt +0 -0
index 73e7d91f03dc..405a3df759b3 100644

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