kern/152488: commit references a PR

dfilter service dfilter at FreeBSD.ORG
Sat Feb 19 21:10:10 UTC 2011


The following reply was made to PR kern/152488; it has been noted by GNATS.

From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at 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 at freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
 


More information about the freebsd-fs mailing list