remove trim_fs method from Documentation/filesystems/Locking [Linux 2.6.37]

This Linux kernel change "remove trim_fs method from Documentation/filesystems/Locking" is included in the Linux 2.6.37 release. This change is authored by Christoph Hellwig <hch [at] lst.de> on Tue Jan 4 07:14:24 2011 +0100. The commit for this change in Linux stable tree is 8a87694 (patch).

remove trim_fs method from Documentation/filesystems/Locking

The ->trim_fs has been removed meanwhile, so remove it from the documentation
as well.

Signed-off-by: Christoph Hellwig <[email protected]>
Reported-by: Ryusuke Konishi <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>

There are 2 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 Documentation/filesystems/Locking | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Documentation/filesystems/Locking b/Documentation/filesystems/Locking
index 7686e76..33fa3e5 100644
--- a/Documentation/filesystems/Locking
+++ b/Documentation/filesystems/Locking
@@ -115,7 +115,6 @@ prototypes:
    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);
-   int (*trim_fs) (struct super_block *, struct fstrim_range *);

 locking rules:
    All may block [not true, see below]
@@ -138,7 +137,6 @@ show_options:       no      (namespace_sem)
 quota_read:        no      (see below)
 quota_write:       no      (see below)
 bdev_try_to_free_page: no      (see below)
-trim_fs:       no

 ->statfs() has s_umount (shared) when called by ustat(2) (native or
 compat), but that's an accident of bad API; s_umount is used to pin

Leave a Reply

Your email address will not be published. Required fields are marked *