In commit acc6100d3ffa ("fs: remove bdev_try_to_free_page callback"),
bdev_try_to_free_page has been removed.
We should remove its doc.
Signed-off-by: Zhiqiang Liu <[email protected]>
---
Documentation/filesystems/locking.rst | 5 -----
1 file changed, 5 deletions(-)
diff --git a/Documentation/filesystems/locking.rst b/Documentation/filesystems/locking.rst
index d36fe79167b3..3f9b1497ebb8 100644
--- a/Documentation/filesystems/locking.rst
+++ b/Documentation/filesystems/locking.rst
@@ -169,7 +169,6 @@ prototypes::
int (*show_options)(struct seq_file *, struct dentry *);
ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t);
ssize_t (*quota_write)(struct super_block *, int, const char *, size_t, loff_t);
- int (*bdev_try_to_free_page)(struct super_block*, struct page*, gfp_t);
locking rules:
All may block [not true, see below]
@@ -194,7 +193,6 @@ umount_begin: no
show_options: no (namespace_sem)
quota_read: no (see below)
quota_write: no (see below)
-bdev_try_to_free_page: no (see below)
====================== ============ ========================
->statfs() has s_umount (shared) when called by ustat(2) (native or
@@ -210,9 +208,6 @@ dqio_sem) (unless an admin really wants to screw up something and
writes to quota files with quotas on). For other details about locking
see also dquot_operations section.
-->bdev_try_to_free_page is called from the ->releasepage handler of
-the block device inode. See there for more details.
-
file_system_type
================
--
2.23.0
On Thu 23-12-21 11:51:00, Zhiqiang Liu wrote:
>
> In commit acc6100d3ffa ("fs: remove bdev_try_to_free_page callback"),
> bdev_try_to_free_page has been removed.
>
> We should remove its doc.
>
> Signed-off-by: Zhiqiang Liu <[email protected]>
Indeed. Thanks. Feel free to add:
Reviewed-by: Jan Kara <[email protected]>
Honza
> ---
> Documentation/filesystems/locking.rst | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/Documentation/filesystems/locking.rst b/Documentation/filesystems/locking.rst
> index d36fe79167b3..3f9b1497ebb8 100644
> --- a/Documentation/filesystems/locking.rst
> +++ b/Documentation/filesystems/locking.rst
> @@ -169,7 +169,6 @@ prototypes::
> int (*show_options)(struct seq_file *, struct dentry *);
> ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t);
> ssize_t (*quota_write)(struct super_block *, int, const char *, size_t, loff_t);
> - int (*bdev_try_to_free_page)(struct super_block*, struct page*, gfp_t);
>
> locking rules:
> All may block [not true, see below]
> @@ -194,7 +193,6 @@ umount_begin: no
> show_options: no (namespace_sem)
> quota_read: no (see below)
> quota_write: no (see below)
> -bdev_try_to_free_page: no (see below)
> ====================== ============ ========================
>
> ->statfs() has s_umount (shared) when called by ustat(2) (native or
> @@ -210,9 +208,6 @@ dqio_sem) (unless an admin really wants to screw up something and
> writes to quota files with quotas on). For other details about locking
> see also dquot_operations section.
>
> -->bdev_try_to_free_page is called from the ->releasepage handler of
> -the block device inode. See there for more details.
> -
> file_system_type
> ================
>
> --
> 2.23.0
>
>
>
--
Jan Kara <[email protected]>
SUSE Labs, CR
On 12/22/21 8:51 PM, Zhiqiang Liu wrote:
>
> In commit acc6100d3ffa ("fs: remove bdev_try_to_free_page callback"),
> bdev_try_to_free_page has been removed.
>
> We should remove its doc.
Reviewed-by: Jens Axboe <[email protected]>
Jon, I'm assuming you'll take this one through the doc tree.
--
Jens Axboe
Jens Axboe <[email protected]> writes:
> On 12/22/21 8:51 PM, Zhiqiang Liu wrote:
>>
>> In commit acc6100d3ffa ("fs: remove bdev_try_to_free_page callback"),
>> bdev_try_to_free_page has been removed.
>>
>> We should remove its doc.
>
> Reviewed-by: Jens Axboe <[email protected]>
>
> Jon, I'm assuming you'll take this one through the doc tree.
Applied, thanks.
jon