Commit 0ebbe4f9 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher

gfs2: Fix the gfs2_invalidatepage description

The comment incorrectly states that the function always returns 0.
Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent 977767a7
...@@ -820,10 +820,10 @@ static void gfs2_invalidatepage(struct page *page, unsigned int offset, ...@@ -820,10 +820,10 @@ static void gfs2_invalidatepage(struct page *page, unsigned int offset,
* @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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment