]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/afs/rxrpc.c
[ALSA] usbusx2yaudio: kfree(NULL) is valid
[linux-2.6-omap-h63xx.git] / fs / afs / rxrpc.c
index 04189c47d6a08eedf89184a1cd5739e24275ec15..1b36f45076ade8a365661120baf7741c2e3cef2b 100644 (file)
@@ -294,7 +294,7 @@ int afs_send_pages(struct afs_call *call, struct msghdr *msg, struct kvec *iov)
                        put_page(pages[loop]);
                if (ret < 0)
                        break;
-       } while (first < last);
+       } while (first <= last);
 
        _leave(" = %d", ret);
        return ret;