]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/nfs/callback_proc.c
Merge tag 'for-3.16/bcm-soc' of git://github.com/broadcom/mach-bcm into next/soc
[karo-tx-linux.git] / fs / nfs / callback_proc.c
index 570c8a1d2f3de6ee656409ec8ee389eed61403f9..41db5258e7a7a5ef837ebd11ae605f7144bd4e65 100644 (file)
@@ -127,13 +127,13 @@ static struct pnfs_layout_hdr * get_layout_by_fh_locked(struct nfs_client *clp,
                                continue;
                        ino = igrab(lo->plh_inode);
                        if (!ino)
-                               continue;
+                               break;
                        spin_lock(&ino->i_lock);
                        /* Is this layout in the process of being freed? */
                        if (NFS_I(ino)->layout != lo) {
                                spin_unlock(&ino->i_lock);
                                iput(ino);
-                               continue;
+                               break;
                        }
                        pnfs_get_layout_hdr(lo);
                        spin_unlock(&ino->i_lock);