diff --git a/lustre/kernel_patches/patches/extN-wantedi.patch b/lustre/kernel_patches/patches/extN-wantedi.patch index d40d678e71ffabca464214db5721a375ef17f4a9..c5772fbb1ecc808279c40cc759911411b53f8014 100644 --- a/lustre/kernel_patches/patches/extN-wantedi.patch +++ b/lustre/kernel_patches/patches/extN-wantedi.patch @@ -58,7 +58,7 @@ { struct super_block * sb; struct buffer_head * bh; -@@ -323,7 +324,39 @@ struct inode * ext3_new_inode (handle_t +@@ -323,7 +324,41 @@ struct inode * ext3_new_inode (handle_t init_rwsem(&inode->u.ext3_i.truncate_sem); lock_super (sb); @@ -71,8 +71,10 @@ + gdp = ext3_get_group_desc(sb, i, &bh2); + + bitmap_nr = load_inode_bitmap (sb, i); -+ if (bitmap_nr < 0) ++ if (bitmap_nr < 0) { ++ err = bitmap_nr; + goto fail; ++ } + + bh = EXT3_SB(sb)->s_inode_bitmap[bitmap_nr]; +