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
This commit is contained in:
parent
101c7b294b
commit
6c921985a7
@ -422,7 +422,6 @@ ufs_lookup(ap)
|
||||
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…
Reference in New Issue
Block a user