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:
parent
7d50ddd92e
commit
206e5d3ace
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user