Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2011 21:10:10 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-fs@FreeBSD.org
Subject:   Re: kern/152488: commit references a PR
Message-ID:  <201102192110.p1JLAAZa066430@freefall.freebsd.org>

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/152488: commit references a PR
Date: Sat, 19 Feb 2011 21:04:41 +0000 (UTC)

 Author: alc
 Date: Sat Feb 19 21:04:36 2011
 New Revision: 218863
 URL: http://svn.freebsd.org/changeset/base/218863
 
 Log:
   tmpfs_remove() isn't modifying the file's data, so it shouldn't set
   TMPFS_NODE_MODIFIED on the node.
   
   PR:		152488
   Submitted by:	Anton Yuzhaninov
   Reviewed by:	kib
   MFC after:	1 week
 
 Modified:
   head/sys/fs/tmpfs/tmpfs_vnops.c
 
 Modified: head/sys/fs/tmpfs/tmpfs_vnops.c
 ==============================================================================
 --- head/sys/fs/tmpfs/tmpfs_vnops.c	Sat Feb 19 17:44:13 2011	(r218862)
 +++ head/sys/fs/tmpfs/tmpfs_vnops.c	Sat Feb 19 21:04:36 2011	(r218863)
 @@ -853,8 +853,7 @@ tmpfs_remove(struct vop_remove_args *v)
  	tmpfs_free_dirent(tmp, de, TRUE);
  
  	if (node->tn_links > 0)
 -		node->tn_status |= TMPFS_NODE_ACCESSED | TMPFS_NODE_CHANGED | \
 -	    TMPFS_NODE_MODIFIED;
 +		node->tn_status |= TMPFS_NODE_ACCESSED | TMPFS_NODE_CHANGED;
  	error = 0;
  
  out:
 _______________________________________________
 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?201102192110.p1JLAAZa066430>