projects
/
platform
/
kernel
/
linux-rpi.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
07484b5
..
af1689d
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) {