diff options
author | Jordan Brown <Jordan.Brown@Sun.COM> | 2009-01-07 23:10:13 -0800 |
---|---|---|
committer | Jordan Brown <Jordan.Brown@Sun.COM> | 2009-01-07 23:10:13 -0800 |
commit | a4f7cf1f88d277df34c22eaec6648bf33f148a7d (patch) | |
tree | 18195be65fefe785314852ec4c5624660f578b19 /usr/src | |
parent | cc6acabc4503c156ccf97096946b31fc7cf84526 (diff) | |
download | illumos-gate-a4f7cf1f88d277df34c22eaec6648bf33f148a7d.tar.gz |
6786457 Cached CIFS client file attributes have ctime and mtime swapped
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/common/fs/smbclnt/smbfs/smbfs_subr2.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr/src/uts/common/fs/smbclnt/smbfs/smbfs_subr2.c b/usr/src/uts/common/fs/smbclnt/smbfs/smbfs_subr2.c index cb712c489a..a16578b163 100644 --- a/usr/src/uts/common/fs/smbclnt/smbfs/smbfs_subr2.c +++ b/usr/src/uts/common/fs/smbclnt/smbfs/smbfs_subr2.c @@ -19,15 +19,13 @@ * CDDL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. * * Copyright (c) 1983,1984,1985,1986,1987,1988,1989 AT&T. * All rights reserved. */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* * Node hash implementation borrowed from NFS. * See: uts/common/fs/nfs/nfs_subr.c @@ -254,8 +252,8 @@ smbfs_make_node( np->r_size = fap->fa_size; /* XXX: np->r_attr = *fap here instead? */ np->r_atime = fap->fa_atime; - np->r_ctime = fap->fa_mtime; - np->r_mtime = fap->fa_ctime; + np->r_ctime = fap->fa_ctime; + np->r_mtime = fap->fa_mtime; #ifdef NOT_YET if (!newnode) { |