diff options
author | dyson <dyson@FreeBSD.org> | 1997-03-07 14:40:54 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1997-03-07 14:40:54 +0000 |
commit | b86e0988091a078f9777fbcf4f6faac32f03b3a6 (patch) | |
tree | 6773b13861fbf07cf376919adfcb98a1d2c1f420 | |
parent | 656f1a920737e0cbf6dbcd3424f90308b95ccbac (diff) | |
download | FreeBSD-src-b86e0988091a078f9777fbcf4f6faac32f03b3a6.zip FreeBSD-src-b86e0988091a078f9777fbcf4f6faac32f03b3a6.tar.gz |
Remove unnecessary check for vp->v_mount being null. Pointed
out by BDE.
-rw-r--r-- | sys/kern/vfs_cluster.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c index 24980f0..b00da1f 100644 --- a/sys/kern/vfs_cluster.c +++ b/sys/kern/vfs_cluster.c @@ -33,7 +33,7 @@ * SUCH DAMAGE. * * @(#)vfs_cluster.c 8.7 (Berkeley) 2/13/94 - * $Id$ + * $Id: vfs_cluster.c,v 1.42 1997/02/22 09:39:31 peter Exp $ */ #include <sys/param.h> @@ -507,7 +507,7 @@ cluster_write(bp, filesize) int async; vp = bp->b_vp; - async = (vp->v_mount && (vp->v_mount->mnt_flag & MNT_ASYNC)); + async = vp->v_mount->mnt_flag & MNT_ASYNC; lblocksize = vp->v_mount->mnt_stat.f_iosize; lbn = bp->b_lblkno; |