From: Bob Peterson Date: Tue, 18 Dec 2018 13:14:00 -0600 Subject: [Cluster-devel] [PATCH 02/11] gfs2: Fix the gfs2_invalidatepage description In-Reply-To: <20181218191409.28091-1-rpeterso@redhat.com> References: <20181218191409.28091-1-rpeterso@redhat.com> Message-ID: <20181218191409.28091-3-rpeterso@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: Andreas Gruenbacher The comment incorrectly states that the function always returns 0. Signed-off-by: Andreas Gruenbacher --- fs/gfs2/aops.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/gfs2/aops.c b/fs/gfs2/aops.c index d9d2a3470656..05dd78f4b2b3 100644 --- a/fs/gfs2/aops.c +++ b/fs/gfs2/aops.c @@ -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) -- 2.20.1