Commit 3b05e528 authored by David Howells's avatar David Howells

afs: Make dynamic root population wait uninterruptibly for proc_cells_lock

Make dynamic root population wait uninterruptibly for proc_cells_lock.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 20b8391f
...@@ -261,8 +261,7 @@ int afs_dynroot_populate(struct super_block *sb) ...@@ -261,8 +261,7 @@ int afs_dynroot_populate(struct super_block *sb)
struct afs_net *net = afs_sb2net(sb); struct afs_net *net = afs_sb2net(sb);
int ret; int ret;
if (mutex_lock_interruptible(&net->proc_cells_lock) < 0) mutex_lock(&net->proc_cells_lock);
return -ERESTARTSYS;
net->dynroot_sb = sb; net->dynroot_sb = sb;
hlist_for_each_entry(cell, &net->proc_cells, proc_link) { hlist_for_each_entry(cell, &net->proc_cells, proc_link) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment