浏览代码

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>
Nikolay Borisov 8 年之前
父节点
当前提交
cc4bbaae54
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      Documentation/filesystems/vfs.txt

+ 1 - 3
Documentation/filesystems/vfs.txt

@@ -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
-	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
   swap_deactivate: Called during swapoff on files where swap_activate
 	was successful.
 	was successful.