summaryrefslogtreecommitdiffstats
path: root/sys/fs/smbfs/smbfs_smb.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-12-06 20:31:08 +0000
committerphk <phk@FreeBSD.org>2004-12-06 20:31:08 +0000
commit0e7aaf24f78bb5d26f6da416918862ba9f7d6129 (patch)
treee037119542ddaa7521ab77bb18da6c14a34a6c52 /sys/fs/smbfs/smbfs_smb.c
parentb71fe4fc33f167c7c72d88c653e447240f4b332e (diff)
downloadFreeBSD-src-0e7aaf24f78bb5d26f6da416918862ba9f7d6129.zip
FreeBSD-src-0e7aaf24f78bb5d26f6da416918862ba9f7d6129.tar.gz
Convert to nmount. Add omount compat.
Unpropagate the sm_args function into the runtime part.
Diffstat (limited to 'sys/fs/smbfs/smbfs_smb.c')
-rw-r--r--sys/fs/smbfs/smbfs_smb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/smbfs/smbfs_smb.c b/sys/fs/smbfs/smbfs_smb.c
index 97f5921..df2faee 100644
--- a/sys/fs/smbfs/smbfs_smb.c
+++ b/sys/fs/smbfs/smbfs_smb.c
@@ -1414,7 +1414,7 @@ smbfs_findopen(struct smbnode *dnp, const char *wildcard, int wclen, int attr,
ctx->f_flags = SMBFS_RDD_FINDFIRST;
ctx->f_scred = scred;
if (SMB_DIALECT(SSTOVC(ctx->f_ssp)) < SMB_DIALECT_LANMAN2_0 ||
- (dnp->n_mount->sm_args.flags & SMBFS_MOUNT_NO_LONG)) {
+ (dnp->n_mount->sm_flags & SMBFS_MOUNT_NO_LONG)) {
ctx->f_flags |= SMBFS_RDD_USESEARCH;
error = smbfs_findopenLM1(ctx, dnp, wildcard, wclen, attr, scred);
} else
OpenPOWER on IntegriCloud