projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20b8391
)
afs: Make dynamic root population wait uninterruptibly for proc_cells_lock
author
David Howells
<dhowells@redhat.com>
Thu, 9 May 2019 08:17:08 +0000
(09:17 +0100)
committer
David Howells
<dhowells@redhat.com>
Thu, 16 May 2019 15:25:21 +0000
(16:25 +0100)
Make dynamic root population wait uninterruptibly for proc_cells_lock.
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/dynroot.c
patch
|
blob
|
history
diff --git
a/fs/afs/dynroot.c
b/fs/afs/dynroot.c
index 07484b5a3bbb837e1b2b58402e7e593d3b4db68e..af1689d1f32e7e699e1ecd13e4b7f84443a0c4a6 100644
(file)
--- a/
fs/afs/dynroot.c
+++ b/
fs/afs/dynroot.c
@@
-261,8
+261,7
@@
int afs_dynroot_populate(struct super_block *sb)
struct afs_net *net = afs_sb2net(sb);
int ret;
- if (mutex_lock_interruptible(&net->proc_cells_lock) < 0)
- return -ERESTARTSYS;
+ mutex_lock(&net->proc_cells_lock);
net->dynroot_sb = sb;
hlist_for_each_entry(cell, &net->proc_cells, proc_link) {