diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2006-09-04 13:55:32 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2006-09-04 13:55:32 +0000 |
commit | b53f78bb8b4dd1ffda8bde2a245a778f9b3fb084 (patch) | |
tree | 4a9981589b54c71bbf6a04950da49cc5f5117c81 | |
parent | 0d7fccf4ea37b6407d2a588515f52cc146f02b89 (diff) | |
download | src-b53f78bb8b4dd1ffda8bde2a245a778f9b3fb084.tar.gz src-b53f78bb8b4dd1ffda8bde2a245a778f9b3fb084.zip |
Notes
-rw-r--r-- | sys/ufs/ffs/ffs_snapshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_snapshot.c b/sys/ufs/ffs/ffs_snapshot.c index cbb3cae035ab..53e38661fb0a 100644 --- a/sys/ufs/ffs/ffs_snapshot.c +++ b/sys/ufs/ffs/ffs_snapshot.c @@ -2090,7 +2090,7 @@ ffs_copyonwrite(devvp, bp) int launched_async_io, prev_norunningbuf; long saved_runningbufspace; - if ((VTOI(bp->b_vp)->i_flags & SF_SNAPSHOT) != 0) + if (devvp != bp->b_vp && (VTOI(bp->b_vp)->i_flags & SF_SNAPSHOT) != 0) return (0); /* Update on a snapshot file */ if (td->td_pflags & TDP_COWINPROGRESS) panic("ffs_copyonwrite: recursive call"); |