Fix style nit

This commit is contained in:
Kevin Lo 2012-09-11 08:36:41 +00:00
parent 6a9e7628f8
commit 8e46bf68d1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=240355

View File

@ -397,8 +397,7 @@ ext2_indirtrunc(ip, lbn, dbn, lastbn, level, countp)
*/
vp = ITOV(ip);
bp = getblk(vp, lbn, (int)fs->e2fs_bsize, 0, 0, 0);
if (bp->b_flags & (B_DONE | B_DELWRI)) {
} else {
if ((bp->b_flags & (B_DONE | B_DELWRI)) == 0) {
bp->b_iocmd = BIO_READ;
if (bp->b_bcount > bp->b_bufsize)
panic("ext2_indirtrunc: bad buffer size");