diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-12-20 20:59:40 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-12-21 00:50:00 +0100 |
commit | b9d6ba94b875192ef5e2dab92d72beea33b83c3d (patch) | |
tree | a06e604535e10ec0c469300f0d36cb5aa8c2782d /fs/stat.c | |
parent | Merge branch 'fscache' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowe... (diff) | |
download | linux-b9d6ba94b875192ef5e2dab92d72beea33b83c3d.tar.xz linux-b9d6ba94b875192ef5e2dab92d72beea33b83c3d.zip |
vfs: add a retry_estale helper function to handle retries on ESTALE
This function is expected to be called from path-based syscalls to help
them decide whether to try the lookup and call again in the event that
they got an -ESTALE return back on an earier try.
Currently, we only retry the call once on an ESTALE error, but in the
event that we decide that that's not enough in the future, we should be
able to change the logic in this helper without too much effort.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/stat.c')
0 files changed, 0 insertions, 0 deletions