aboutsummaryrefslogtreecommitdiff
path: root/sys/ufs/ffs
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2011-09-27 17:34:02 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2011-09-27 17:34:02 +0000
commit6b3b8a2109a7d4127ea71808aabb4b9f04c24175 (patch)
treef0d650beca1fa381ac636981df9cc79230580737 /sys/ufs/ffs
parent5c5052cca441fd36d31ddee46f8b33f9efb30239 (diff)
downloadsrc-6b3b8a2109a7d4127ea71808aabb4b9f04c24175.tar.gz
src-6b3b8a2109a7d4127ea71808aabb4b9f04c24175.zip
This update eliminates the system hang reported in kern/160662 when
taking a snapshot on a filesystem running with journaled soft updates. Reported by: Hans Ottevanger Fix verified by: Hans Ottevanger PR: kern/160662
Notes
Notes: svn path=/head/; revision=225806
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r--sys/ufs/ffs/ffs_snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_snapshot.c b/sys/ufs/ffs/ffs_snapshot.c
index c8dd4c66b355..9aa0f791b5fc 100644
--- a/sys/ufs/ffs/ffs_snapshot.c
+++ b/sys/ufs/ffs/ffs_snapshot.c
@@ -203,7 +203,7 @@ ffs_snapshot(mp, snapfile)
ufs2_daddr_t numblks, blkno, *blkp, *snapblklist;
int error, cg, snaploc;
int i, size, len, loc;
- int flag;
+ uint64_t flag;
struct timespec starttime = {0, 0}, endtime;
char saved_nice = 0;
long redo = 0, snaplistsize = 0;