gfs2: Fix the gfs2_invalidatepage description
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 6 Nov 2018 10:31:33 +0000 (10:31 +0000)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 11 Dec 2018 16:50:35 +0000 (17:50 +0100)
The comment incorrectly states that the function always returns 0.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/aops.c

index d9d2a3470656ca386c025a59745daeff442f0b0a..05dd78f4b2b3b5aa6982d8475be770d4a37f712c 100644 (file)
@@ -820,10 +820,10 @@ out:
  * @page: the page that's being released
  * @gfp_mask: passed from Linux VFS, ignored by us
  *
- * Call try_to_free_buffers() if the buffers in this page can be
- * released.
+ * Calls try_to_free_buffers() to free the buffers and put the page if the
+ * buffers can be released.
  *
- * Returns: 0
+ * Returns: 1 if the page was put or else 0
  */
 
 int gfs2_releasepage(struct page *page, gfp_t gfp_mask)