Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 2009 20:40:03 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-fs@FreeBSD.org
Subject:   Re: kern/141177: commit references a PR
Message-ID:  <200912052040.nB5Ke3Qd097301@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/141177; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/141177: commit references a PR
Date: Sat,  5 Dec 2009 20:36:54 +0000 (UTC)

 Author: kib
 Date: Sat Dec  5 20:36:42 2009
 New Revision: 200162
 URL: http://svn.freebsd.org/changeset/base/200162
 
 Log:
   Change VOP_FSYNC for zfs vnode from VOP_PANIC to zfs_freebsd_fsync(),
   both to not panic when fsync(2) is called for fifo on zfs
   filedescriptor, and to actually fsync fifo inode to permanent storage.
   
   PR:	kern/141177
   Reviewed by:	pjd
   MFC after:	1 week
 
 Modified:
   head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
 
 Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
 ==============================================================================
 --- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c	Sat Dec  5 20:26:55 2009	(r200161)
 +++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c	Sat Dec  5 20:36:42 2009	(r200162)
 @@ -5009,7 +5009,7 @@ struct vop_vector zfs_vnodeops = {
  
  struct vop_vector zfs_fifoops = {
  	.vop_default =		&fifo_specops,
 -	.vop_fsync =		VOP_PANIC,
 +	.vop_fsync =		zfs_freebsd_fsync,
  	.vop_access =		zfs_freebsd_access,
  	.vop_getattr =		zfs_freebsd_getattr,
  	.vop_inactive =		zfs_freebsd_inactive,
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912052040.nB5Ke3Qd097301>