-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runner: fix state_lock and cfgfs use
The kernel can end up taking a configfs lock then call up to userspace, so we must not have a lock that is taken in this upcall and is taken when interacting with configfs. As reported by sherlockxiao: #595 this happens with the state_lock where during deletion the kernel will hold the state_lock, but some code paths will hold the state_lock while calling into configfs. This moves our configfs access out of the state_lock.
- Loading branch information
Mike Christie
committed
Oct 17, 2019
1 parent
7a6186b
commit 493893b
Showing
4 changed files
with
32 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters