diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/nfs4proc.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 2ce069880d6b..ff7571f12bb8 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -4921,7 +4921,7 @@ static void nfs_fixup_referral_attributes(struct nfs_fattr *fattr) | |||
4921 | fattr->nlink = 2; | 4921 | fattr->nlink = 2; |
4922 | } | 4922 | } |
4923 | 4923 | ||
4924 | int nfs4_proc_fs_locations(struct inode *dir, const struct qstr *name, | 4924 | static int _nfs4_proc_fs_locations(struct inode *dir, const struct qstr *name, |
4925 | struct nfs4_fs_locations *fs_locations, struct page *page) | 4925 | struct nfs4_fs_locations *fs_locations, struct page *page) |
4926 | { | 4926 | { |
4927 | struct nfs_server *server = NFS_SERVER(dir); | 4927 | struct nfs_server *server = NFS_SERVER(dir); |
@@ -4961,6 +4961,19 @@ int nfs4_proc_fs_locations(struct inode *dir, const struct qstr *name, | |||
4961 | return status; | 4961 | return status; |
4962 | } | 4962 | } |
4963 | 4963 | ||
4964 | int nfs4_proc_fs_locations(struct inode *dir, const struct qstr *name, | ||
4965 | struct nfs4_fs_locations *fs_locations, struct page *page) | ||
4966 | { | ||
4967 | struct nfs4_exception exception = { }; | ||
4968 | int err; | ||
4969 | do { | ||
4970 | err = nfs4_handle_exception(NFS_SERVER(dir), | ||
4971 | _nfs4_proc_fs_locations(dir, name, fs_locations, page), | ||
4972 | &exception); | ||
4973 | } while (exception.retry); | ||
4974 | return err; | ||
4975 | } | ||
4976 | |||
4964 | static int _nfs4_proc_secinfo(struct inode *dir, const struct qstr *name, struct nfs4_secinfo_flavors *flavors) | 4977 | static int _nfs4_proc_secinfo(struct inode *dir, const struct qstr *name, struct nfs4_secinfo_flavors *flavors) |
4965 | { | 4978 | { |
4966 | int status; | 4979 | int status; |