diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2018-11-06 05:31:33 -0500 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2018-12-11 11:50:35 -0500 |
commit | 0ebbe4f974a6035542f32f0ed16859c4e128477b (patch) | |
tree | e58877259cae2688a02013e532fab2b690f7c867 /fs/gfs2 | |
parent | 977767a7e1ee32ae85377d88b5383da789d2a6b5 (diff) |
gfs2: Fix the gfs2_invalidatepage description
The comment incorrectly states that the function always returns 0.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/aops.c | 6 |
1 files 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 @@ out: | |||
820 | * @page: the page that's being released | 820 | * @page: the page that's being released |
821 | * @gfp_mask: passed from Linux VFS, ignored by us | 821 | * @gfp_mask: passed from Linux VFS, ignored by us |
822 | * | 822 | * |
823 | * Call try_to_free_buffers() if the buffers in this page can be | 823 | * Calls try_to_free_buffers() to free the buffers and put the page if the |
824 | * released. | 824 | * buffers can be released. |
825 | * | 825 | * |
826 | * Returns: 0 | 826 | * Returns: 1 if the page was put or else 0 |
827 | */ | 827 | */ |
828 | 828 | ||
829 | int gfs2_releasepage(struct page *page, gfp_t gfp_mask) | 829 | int gfs2_releasepage(struct page *page, gfp_t gfp_mask) |