gfs2: Fix the gfs2_invalidatepage description

The comment incorrectly states that the function always returns 0.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
This commit is contained in:
Andreas Gruenbacher 2018-11-06 10:31:33 +00:00
parent 977767a7e1
commit 0ebbe4f974

View File

@ -820,10 +820,10 @@ out:
* @page: the page that's being released * @page: the page that's being released
* @gfp_mask: passed from Linux VFS, ignored by us * @gfp_mask: passed from Linux VFS, ignored by us
* *
* Call try_to_free_buffers() if the buffers in this page can be * Calls try_to_free_buffers() to free the buffers and put the page if the
* released. * 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) int gfs2_releasepage(struct page *page, gfp_t gfp_mask)