Loading fs/nfs/nfs4namespace.c +3 −5 Original line number Diff line number Diff line Loading @@ -114,10 +114,7 @@ static inline int valid_ipaddr4(const char *buf) * nfs_follow_referral - set up mountpoint when hitting a referral on moved error * @mnt_parent - mountpoint of parent directory * @dentry - parent directory * @fspath - fs path returned in fs_locations * @mntpath - mount path to new server * @hostname - hostname of new server * @addr - host addr of new server * @locations - array of NFSv4 server location information * */ static struct vfsmount *nfs_follow_referral(const struct vfsmount *mnt_parent, Loading @@ -131,7 +128,8 @@ static struct vfsmount *nfs_follow_referral(const struct vfsmount *mnt_parent, .authflavor = NFS_SB(mnt_parent->mnt_sb)->client->cl_auth->au_flavor, }; char *page = NULL, *page2 = NULL; int loc, s, error; unsigned int s; int loc, error; if (locations == NULL || locations->nlocations <= 0) goto out; Loading Loading
fs/nfs/nfs4namespace.c +3 −5 Original line number Diff line number Diff line Loading @@ -114,10 +114,7 @@ static inline int valid_ipaddr4(const char *buf) * nfs_follow_referral - set up mountpoint when hitting a referral on moved error * @mnt_parent - mountpoint of parent directory * @dentry - parent directory * @fspath - fs path returned in fs_locations * @mntpath - mount path to new server * @hostname - hostname of new server * @addr - host addr of new server * @locations - array of NFSv4 server location information * */ static struct vfsmount *nfs_follow_referral(const struct vfsmount *mnt_parent, Loading @@ -131,7 +128,8 @@ static struct vfsmount *nfs_follow_referral(const struct vfsmount *mnt_parent, .authflavor = NFS_SB(mnt_parent->mnt_sb)->client->cl_auth->au_flavor, }; char *page = NULL, *page2 = NULL; int loc, s, error; unsigned int s; int loc, error; if (locations == NULL || locations->nlocations <= 0) goto out; Loading