Loading fs/nfs/internal.h +9 −0 Original line number Original line Diff line number Diff line Loading @@ -30,6 +30,15 @@ static inline int nfs4_has_session(const struct nfs_client *clp) return 0; return 0; } } static inline int nfs4_has_persistent_session(const struct nfs_client *clp) { #ifdef CONFIG_NFS_V4_1 if (nfs4_has_session(clp)) return (clp->cl_session->flags & SESSION4_PERSIST); #endif /* CONFIG_NFS_V4_1 */ return 0; } struct nfs_clone_mount { struct nfs_clone_mount { const struct super_block *sb; const struct super_block *sb; const struct dentry *dentry; const struct dentry *dentry; Loading Loading
fs/nfs/internal.h +9 −0 Original line number Original line Diff line number Diff line Loading @@ -30,6 +30,15 @@ static inline int nfs4_has_session(const struct nfs_client *clp) return 0; return 0; } } static inline int nfs4_has_persistent_session(const struct nfs_client *clp) { #ifdef CONFIG_NFS_V4_1 if (nfs4_has_session(clp)) return (clp->cl_session->flags & SESSION4_PERSIST); #endif /* CONFIG_NFS_V4_1 */ return 0; } struct nfs_clone_mount { struct nfs_clone_mount { const struct super_block *sb; const struct super_block *sb; const struct dentry *dentry; const struct dentry *dentry; Loading