Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb47ddc9 authored by Fred Isaman's avatar Fred Isaman Committed by Trond Myklebust
Browse files

NFS4: Fix open bug when pnfs module blacklisted

parent f07936f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -365,7 +365,7 @@ static inline bool
pnfs_use_threshold(struct nfs4_threshold **dst, struct nfs4_threshold *src,
		   struct nfs_server *nfss)
{
	return (dst && src && src->bm != 0 &&
	return (dst && src && src->bm != 0 && nfss->pnfs_curr_ld &&
					nfss->pnfs_curr_ld->id == src->l_type);
}