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

Commit 52fcac98 authored by Andy Adamson's avatar Andy Adamson Committed by Trond Myklebust
Browse files

NFSv4.1 use pnfs_device maxcount for the objectlayout gdia_maxcount

parent 968fe252
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -613,6 +613,7 @@ int objlayout_get_deviceinfo(struct pnfs_layout_hdr *pnfslay,
	pd.pgbase = 0;
	pd.pglen = PAGE_SIZE;
	pd.mincount = 0;
	pd.maxcount = PAGE_SIZE;

	err = nfs4_proc_getdeviceinfo(NFS_SERVER(pnfslay->plh_inode), &pd,
			pnfslay->plh_lc_cred);