vfs: fix renameat to retry on ESTALE errors
authorJeff Layton <jlayton@redhat.com>
Tue, 11 Dec 2012 17:10:10 +0000 (12:10 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 20 Dec 2012 23:50:05 +0000 (18:50 -0500)
commitc6a9428401c00a27d3c17264934d14e284570c97
tree84d5e256e78615794a694cf5b6af80a92e8d01f9
parent5d18f8133cad85ccbb7fa6fd351d75025da32504
vfs: fix renameat to retry on ESTALE errors

...as always, rename is the messiest of the bunch. We have to track
whether to retry or not via a separate flag since the error handling
is already quite complex.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c