diff options
Diffstat (limited to 'fs/xfs/linux-2.6')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_buf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c index 208daf58b826..192aa0650919 100644 --- a/fs/xfs/linux-2.6/xfs_buf.c +++ b/fs/xfs/linux-2.6/xfs_buf.c | |||
@@ -792,8 +792,9 @@ xfs_buf_get_noaddr( | |||
792 | fail_free_mem: | 792 | fail_free_mem: |
793 | while (--i >= 0) | 793 | while (--i >= 0) |
794 | __free_page(bp->b_pages[i]); | 794 | __free_page(bp->b_pages[i]); |
795 | _xfs_buf_free_pages(bp); | ||
795 | fail_free_buf: | 796 | fail_free_buf: |
796 | xfs_buf_free(bp); | 797 | xfs_buf_deallocate(bp); |
797 | fail: | 798 | fail: |
798 | return NULL; | 799 | return NULL; |
799 | } | 800 | } |