diff options
| author | Tim J. Robbins <tjr@FreeBSD.org> | 2004-01-12 14:43:49 +0000 |
|---|---|---|
| committer | Tim J. Robbins <tjr@FreeBSD.org> | 2004-01-12 14:43:49 +0000 |
| commit | 08fe4bfbdac84c95cf52d37e42e05693291a2f43 (patch) | |
| tree | a40501eb863df526393f71424e19cf745fd672cc /sys/fs | |
| parent | 7636aa79abfb8d7698f36d37cbcc0b5746add2cf (diff) | |
Notes
Diffstat (limited to 'sys/fs')
| -rw-r--r-- | sys/fs/smbfs/smbfs_smb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/smbfs/smbfs_smb.c b/sys/fs/smbfs/smbfs_smb.c index 3a21ad29cf98..97f5921f7d1a 100644 --- a/sys/fs/smbfs/smbfs_smb.c +++ b/sys/fs/smbfs/smbfs_smb.c @@ -363,7 +363,7 @@ smb_smb_flush(struct smbnode *np, struct smb_cred *scred) struct mbchain *mbp; int error; - if ((np->n_flag & NOPEN) != 0 || !SMBTOV(np) || + if ((np->n_flag & NOPEN) == 0 || !SMBTOV(np) || SMBTOV(np)->v_type != VREG) return 0; /* not a regular open file */ error = smb_rq_init(rqp, SSTOCP(ssp), SMB_COM_FLUSH, scred); |
