cvs commit: src/sys/ufs/ffs ffs_snapshot.c

[ Available lists | Index of cvs-all | Month of Sep 2006 | Week of 4 Sep 2006 | Raw email | View thread | Wrap long lines | Reply ]
From
Konstantin Belousov <kib@FreeBSD.org>
Date
4 Sep 2006 13:55:38
Subject
cvs commit: src/sys/ufs/ffs ffs_snapshot.c
Message-ID
200609041355.k84DtX7n078043@repoman.freebsd.org


[ Hide this part ]
kib         2006-09-04 13:55:32 UTC

FreeBSD src repository

Modified files: (Branch: RELENG_6)
sys/ufs/ffs ffs_snapshot.c
Log:
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)

Revision Changes Path
1.103.2.17 +1 -1 src/sys/ufs/ffs/ffs_snapshot.c


Elapsed time: 0.067 seconds