From: Jens Axboe Date: Wed, 3 May 2006 08:58:22 +0000 (+0200) Subject: [PATCH] splice: redo page lookup if add_to_page_cache() returns -EEXIST X-Git-Tag: v2.6.17-rc4~44^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0548871ed267ae12eb1c860c5aaebd9e466b34e;p=pandora-kernel.git [PATCH] splice: redo page lookup if add_to_page_cache() returns -EEXIST This can happen quite easily, if several processes are trying to splice the same file at the same time. It's not a failure, it just means someone raced with us in allocating this file page. So just dump the allocated page and relookup the original. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed