提交 cc4bbaae 编写于 作者: N Nikolay Borisov 提交者: Jonathan Corbet

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: NNikolay Borisov <nborisov@suse.com>
Signed-off-by: NJonathan Corbet <corbet@lwn.net>
上级 95a40b86
...@@ -829,9 +829,7 @@ struct address_space_operations { ...@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册