From: David Howells Date: Thu, 9 May 2019 08:17:08 +0000 (+0100) Subject: afs: Make dynamic root population wait uninterruptibly for proc_cells_lock X-Git-Tag: v5.4-rc1~951^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b05e528cb9ef1c7b251705acca46d8deb80183c;p=platform%2Fkernel%2Flinux-rpi.git afs: Make dynamic root population wait uninterruptibly for proc_cells_lock Make dynamic root population wait uninterruptibly for proc_cells_lock. Signed-off-by: David Howells --- diff --git a/fs/afs/dynroot.c b/fs/afs/dynroot.c index 07484b5..af1689d 100644 --- 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) {