]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
While checking for update of snapshot file in the ffs_copyonwrite,
authorkib <kib@FreeBSD.org>
Mon, 21 Aug 2006 17:20:19 +0000 (17:20 +0000)
committerkib <kib@FreeBSD.org>
Mon, 21 Aug 2006 17:20:19 +0000 (17:20 +0000)
commit6b3e18253177a17fcd1083cebac69ea449b55a57
treed9b2f5c25edfb53138f127cbfef320fa69d41521
parent1e80c6d4b6d3c03b582b475466f209323388598a
While checking for update of snapshot file in the ffs_copyonwrite,
first filter out metadata update. Otherwise, devfs vnode could be
erronously interpreted as ufs one, causing further check of i_flags
to use random memory.

PR: kern/100365
Debugged and fix described by: tegge
Approved by: pjd (mentor)
MFC after: 2 weeks
sys/ufs/ffs/ffs_snapshot.c