Bug 139597 - [patch] [tmpfs] tmpfs initializes va_gen but doesn't update it on vnode change
Summary: [patch] [tmpfs] tmpfs initializes va_gen but doesn't update it on vnode change
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 1.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-14 12:20 UTC by Gleb Kurtsou
Modified: 2012-05-20 14:27 UTC (History)
0 users

See Also:


Attachments
file.diff (557 bytes, patch)
2009-10-14 12:20 UTC, Gleb Kurtsou
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gleb Kurtsou freebsd_committer freebsd_triage 2009-10-14 12:20:01 UTC
tmpfs initializes tn_gen (generation number) on node creation, but fails to update it on vnode change.
other filesystems set va_gen=0 or update it on changes (ufs, zfs)

Fix: Patch attached with submission follows:
How-To-Repeat: mount pefs or nfs (not tested) on top of tmpfs
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-10-14 21:10:47 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).