diff options
author | kevlo <kevlo@FreeBSD.org> | 2012-09-11 08:36:41 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2012-09-11 08:36:41 +0000 |
commit | 261aee2945e74024e276ba739a910c6145868d8c (patch) | |
tree | ef4f05b587d759bdaf43d172902be7a1852bae62 /sys/fs | |
parent | ee5da46c193b61c6f2e6b482f91c450eadf8800f (diff) | |
download | FreeBSD-src-261aee2945e74024e276ba739a910c6145868d8c.zip FreeBSD-src-261aee2945e74024e276ba739a910c6145868d8c.tar.gz |
Fix style nit
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/ext2fs/ext2_inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/fs/ext2fs/ext2_inode.c b/sys/fs/ext2fs/ext2_inode.c index 24acc64..e7fc9a8 100644 --- a/sys/fs/ext2fs/ext2_inode.c +++ b/sys/fs/ext2fs/ext2_inode.c @@ -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"); |