mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
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
This commit is contained in:
parent
c7fd2483c5
commit
7ded42ba28
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218863
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user