Skip to content

Commit

Permalink
gfs2: Fix the gfs2_invalidatepage description
Browse files Browse the repository at this point in the history
The comment incorrectly states that the function always returns 0.

Signed-off-by: Andreas Gruenbacher <[email protected]>
  • Loading branch information
Andreas Gruenbacher committed Dec 11, 2018
1 parent 977767a commit 0ebbe4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fs/gfs2/aops.c
Original file line number Diff line number Diff line change
Expand Up @@ -820,10 +820,10 @@ static void gfs2_invalidatepage(struct page *page, unsigned int offset,
* @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)
Expand Down

0 comments on commit 0ebbe4f

Please sign in to comment.