Date: Wed, 26 Mar 2008 20:48:08 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/gnu/fs/ext2fs ext2_vfsops.c src/sys/ufs/ffs ffs_vfsops.c Message-ID: <200803262048.m2QKm8lm092994@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-03-26 20:48:08 UTC FreeBSD src repository Modified files: sys/gnu/fs/ext2fs ext2_vfsops.c sys/ufs/ffs ffs_vfsops.c Log: Fix a nit with the 'nofoo' options where 'foo' is mapped to 'nonofoo' (such as 'atime' vs 'noatime'). The filesystems will always see either 'nofoo' or 'nonofoo', never plain 'foo'. As such, their list of valid mount options should include 'nofoo' instead of 'foo'. With this fix, you can do 'mount -u -o atime' on a FFS filesystem that isn't marked as noatime without getting an error. You can also update a noatime FFS filesystem mounted via mount(2) (e.g. 6.x /sbin/mount binary) to 'atime' using nmount(2) (e.g. 7.x /sbin/mount binary). MFC after: 1 week Reviewed by: crodig Revision Changes Path 1.171 +1 -1 src/sys/gnu/fs/ext2fs/ext2_vfsops.c 1.340 +3 -3 src/sys/ufs/ffs/ffs_vfsops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803262048.m2QKm8lm092994>