diff options
author | jeff <jeff@FreeBSD.org> | 2002-10-08 21:00:52 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2002-10-08 21:00:52 +0000 |
commit | 29006c0306b69391a22a26518bb1607fd0e2b6cc (patch) | |
tree | 40782ea611000bbbbef5acefe8cfaae044801513 /sys/ufs/ffs/ffs_snapshot.c | |
parent | 9bfc1ff68c67f05d0a13ce3ab393ac6e3e4f5511 (diff) | |
download | FreeBSD-src-29006c0306b69391a22a26518bb1607fd0e2b6cc.zip FreeBSD-src-29006c0306b69391a22a26518bb1607fd0e2b6cc.tar.gz |
- Remove LK_INTERLOCK from the vn_lock() in ffs_snapshot().
Pointy hat to: me
Found by: green
Diffstat (limited to 'sys/ufs/ffs/ffs_snapshot.c')
-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 0032f0f..fc800b7 100644 --- a/sys/ufs/ffs/ffs_snapshot.c +++ b/sys/ufs/ffs/ffs_snapshot.c @@ -406,7 +406,7 @@ loop: } if (snapdebug) vprint("ffs_snapshot: busy vnode", xvp); - if (vn_lock(xvp, LK_EXCLUSIVE | LK_INTERLOCK, td) != 0) + if (vn_lock(xvp, LK_EXCLUSIVE, td) != 0) goto loop; xp = VTOI(xvp); /* |