Loading fs/nfs/pagelist.c +4 −10 Original line number Original line Diff line number Diff line Loading @@ -60,16 +60,10 @@ nfs_create_request(struct nfs_open_context *ctx, struct inode *inode, { { struct nfs_page *req; struct nfs_page *req; for (;;) { /* try to allocate the request struct */ /* try to allocate the request struct */ req = nfs_page_alloc(); req = nfs_page_alloc(); if (req != NULL) if (req == NULL) break; return ERR_PTR(-ENOMEM); if (fatal_signal_pending(current)) return ERR_PTR(-ERESTARTSYS); yield(); } /* Initialize the request struct. Initially, we assume a /* Initialize the request struct. Initially, we assume a * long write-back delay. This will be adjusted in * long write-back delay. This will be adjusted in Loading Loading
fs/nfs/pagelist.c +4 −10 Original line number Original line Diff line number Diff line Loading @@ -60,16 +60,10 @@ nfs_create_request(struct nfs_open_context *ctx, struct inode *inode, { { struct nfs_page *req; struct nfs_page *req; for (;;) { /* try to allocate the request struct */ /* try to allocate the request struct */ req = nfs_page_alloc(); req = nfs_page_alloc(); if (req != NULL) if (req == NULL) break; return ERR_PTR(-ENOMEM); if (fatal_signal_pending(current)) return ERR_PTR(-ERESTARTSYS); yield(); } /* Initialize the request struct. Initially, we assume a /* Initialize the request struct. Initially, we assume a * long write-back delay. This will be adjusted in * long write-back delay. This will be adjusted in Loading