Skip to content

Commit 0ebbe4f

Browse files
author
Andreas Gruenbacher
committed
gfs2: Fix the gfs2_invalidatepage description
The comment incorrectly states that the function always returns 0. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
1 parent 977767a commit 0ebbe4f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fs/gfs2/aops.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -820,10 +820,10 @@ static void gfs2_invalidatepage(struct page *page, unsigned int offset,
820820
* @page: the page that's being released
821821
* @gfp_mask: passed from Linux VFS, ignored by us
822822
*
823-
* Call try_to_free_buffers() if the buffers in this page can be
824-
* released.
823+
* Calls try_to_free_buffers() to free the buffers and put the page if the
824+
* buffers can be released.
825825
*
826-
* Returns: 0
826+
* Returns: 1 if the page was put or else 0
827827
*/
828828

829829
int gfs2_releasepage(struct page *page, gfp_t gfp_mask)

0 commit comments

Comments
 (0)