Date: Thu, 24 Mar 2011 20:28:09 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c Message-ID: <201103242028.p2OKSLEf044965@repoman.freebsd.org>
index | next in thread | raw e-mail
pjd 2011-03-24 20:28:09 UTC
FreeBSD src repository
Modified files:
sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_vnops.c
Log:
SVN rev 219973 on 2011-03-24 20:28:09Z by pjd
Checking file access on size change is bogus. The checks are done earlier by
VFS where we know if this is truncate(2) or ftruncate(2). If this is the
latter we should depend on the mode the file was opened and not on the current
permission.
PR: standards/154873
Reported by: Mark Martinec <Mark.Martinec@ijs.si>
Discussed with: Eric Schrock <eric.schrock@delphix.com>
Discussed with: Mark Maybee <Mark.Maybee@Oracle.COM>
MFC after: 1 month
Revision Changes Path
1.90 +0 -5 src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103242028.p2OKSLEf044965>
