From 9ace430985da861cefcfcc5bcf2553c47b5df2b4 Mon Sep 17 00:00:00 2001 From: Nikanth Karthikesan Date: Wed, 15 Apr 2009 10:36:35 +0530 Subject: [PATCH] --- yaml --- r: 143342 b: refs/heads/master c: b1fffc9ca6ca4c3feef3a7e8405252d528d312dc h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/gfs2/ops_fstype.c | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/[refs] b/[refs] index eee64ab5e0b4..da9657400034 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 226e7dabf5534722944adefbad01970bd38bb7ae +refs/heads/master: b1fffc9ca6ca4c3feef3a7e8405252d528d312dc diff --git a/trunk/fs/gfs2/ops_fstype.c b/trunk/fs/gfs2/ops_fstype.c index 51883b3ad89c..650a730707b7 100644 --- a/trunk/fs/gfs2/ops_fstype.c +++ b/trunk/fs/gfs2/ops_fstype.c @@ -272,11 +272,6 @@ static int gfs2_read_super(struct gfs2_sbd *sdp, sector_t sector) lock_page(page); bio = bio_alloc(GFP_NOFS, 1); - if (unlikely(!bio)) { - __free_page(page); - return -ENOBUFS; - } - bio->bi_sector = sector * (sb->s_blocksize >> 9); bio->bi_bdev = sb->s_bdev; bio_add_page(bio, page, PAGE_SIZE, 0);