diff options
author | tegge <tegge@FreeBSD.org> | 2006-03-08 02:14:39 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 2006-03-08 02:14:39 +0000 |
commit | 6c921985a73a21c03f3d5b5240f73b5321ec991a (patch) | |
tree | aa3014c1486ce6faa747be8609d1f110fed94ddb | |
parent | 101c7b294b2df1618ed60b110ea7e87e673daa00 (diff) | |
download | FreeBSD-src-6c921985a73a21c03f3d5b5240f73b5321ec991a.zip FreeBSD-src-6c921985a73a21c03f3d5b5240f73b5321ec991a.tar.gz |
Don't set IN_CHANGE and IN_UPDATE on inodes for potentially suspended
file systems. This could cause deadlocks when creating snapshots.
Reviewed by: jeff
-rw-r--r-- | sys/ufs/ufs/ufs_lookup.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_lookup.c b/sys/ufs/ufs/ufs_lookup.c index a683e35..b420378 100644 --- a/sys/ufs/ufs/ufs_lookup.c +++ b/sys/ufs/ufs/ufs_lookup.c @@ -422,7 +422,6 @@ notfound: enduseful = slotoffset + slotsize; } dp->i_endoff = roundup2(enduseful, DIRBLKSIZ); - dp->i_flag |= IN_CHANGE | IN_UPDATE; /* * We return with the directory locked, so that * the parameters we set up above will still be |