MFC: Don't set IN_CHANGE and IN_UPDATE on inodes for potentially suspended

file systems.  This could cause deadlocks when creating snapshots.

Approved by:	re (mux)
This commit is contained in:
tegge 2006-03-09 00:21:23 +00:00
parent 7d50ddd92e
commit 206e5d3ace

View File

@ -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