| Submitter | Wang shilong |
|---|---|
| Date | Feb. 6, 2013, 8:01 p.m. |
| Message ID | <5112B68D.3080108@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/218483/ |
| State | Not Applicable |
| Headers | show |
Comments
Patch
diff --git a/fs/ext2/balloc.c b/fs/ext2/balloc.c index 1c36139..22993a0 100644 --- a/fs/ext2/balloc.c +++ b/fs/ext2/balloc.c @@ -1239,10 +1239,6 @@ ext2_fsblk_t ext2_new_blocks(struct inode *inode, ext2_fsblk_t goal, *errp = -ENOSPC; sb = inode->i_sb; - if (!sb) { - printk("ext2_new_blocks: nonexistent device"); - return 0; - } /* * Check quota for allocation of this block.