svn commit: r240355 - head/sys/fs/ext2fs
Kevin Lo
kevlo at FreeBSD.org
Tue Sep 11 08:36:42 UTC 2012
Author: kevlo
Date: Tue Sep 11 08:36:41 2012
New Revision: 240355
URL: http://svn.freebsd.org/changeset/base/240355
Log:
Fix style nit
Modified:
head/sys/fs/ext2fs/ext2_inode.c
Modified: head/sys/fs/ext2fs/ext2_inode.c
==============================================================================
--- head/sys/fs/ext2fs/ext2_inode.c Tue Sep 11 08:33:16 2012 (r240354)
+++ head/sys/fs/ext2fs/ext2_inode.c Tue Sep 11 08:36:41 2012 (r240355)
@@ -397,8 +397,7 @@ ext2_indirtrunc(ip, lbn, dbn, lastbn, le
*/
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");
More information about the svn-src-all
mailing list