aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/ops_address.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/ops_address.c b/fs/gfs2/ops_address.c
index 4002f417dc19..873a511ef2be 100644
--- a/fs/gfs2/ops_address.c
+++ b/fs/gfs2/ops_address.c
@@ -747,7 +747,7 @@ int gfs2_releasepage(struct page *page, gfp_t gfp_mask)
747 struct gfs2_bufdata *bd; 747 struct gfs2_bufdata *bd;
748 748
749 if (!page_has_buffers(page)) 749 if (!page_has_buffers(page))
750 goto out; 750 return 0;
751 751
752 gfs2_log_lock(sdp); 752 gfs2_log_lock(sdp);
753 head = bh = page_buffers(page); 753 head = bh = page_buffers(page);
@@ -787,7 +787,6 @@ int gfs2_releasepage(struct page *page, gfp_t gfp_mask)
787 bh = bh->b_this_page; 787 bh = bh->b_this_page;
788 } while (bh != head); 788 } while (bh != head);
789 789
790out:
791 return try_to_free_buffers(page); 790 return try_to_free_buffers(page);
792cannot_release: 791cannot_release:
793 gfs2_log_unlock(sdp); 792 gfs2_log_unlock(sdp);