diff options
author | dt <dt@FreeBSD.org> | 1998-11-29 22:38:57 +0000 |
---|---|---|
committer | dt <dt@FreeBSD.org> | 1998-11-29 22:38:57 +0000 |
commit | fd4453bab9177c756fe6e5480167d47c97fd7a96 (patch) | |
tree | 07702b1d645738546bdac81398cb8e54aeb360cb /sys/msdosfs | |
parent | b493bd5ba3fb70332d87e0966e2419fcbdc4afa0 (diff) | |
download | FreeBSD-src-fd4453bab9177c756fe6e5480167d47c97fd7a96.zip FreeBSD-src-fd4453bab9177c756fe6e5480167d47c97fd7a96.tar.gz |
Honor MNT_NOATIME.
PR: 8383
Submitted by: Carl Mascott <cmascott@world.std.com>
Diffstat (limited to 'sys/msdosfs')
-rw-r--r-- | sys/msdosfs/msdosfs_vnops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/msdosfs/msdosfs_vnops.c b/sys/msdosfs/msdosfs_vnops.c index d95a7a4..1b9353d 100644 --- a/sys/msdosfs/msdosfs_vnops.c +++ b/sys/msdosfs/msdosfs_vnops.c @@ -1,4 +1,4 @@ -/* $Id: msdosfs_vnops.c,v 1.77 1998/10/31 15:31:24 peter Exp $ */ +/* $Id: msdosfs_vnops.c,v 1.78 1998/11/21 00:20:24 dt Exp $ */ /* $NetBSD: msdosfs_vnops.c,v 1.68 1998/02/10 14:10:04 mrg Exp $ */ /*- @@ -610,10 +610,10 @@ msdosfs_read(ap) return (error); } error = uiomove(bp->b_data + on, (int) n, uio); - if (!isadir) - dep->de_flag |= DE_ACCESS; brelse(bp); } while (error == 0 && uio->uio_resid > 0 && n != 0); + if (!isadir && !(vp->v_mount->mnt_flag & MNT_NOATIME)) + dep->de_flag |= DE_ACCESS; return (error); } |