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

Commit 3c40794b authored by Yanchuan Nian's avatar Yanchuan Nian Committed by J. Bruce Fields
Browse files

nfs: fix wrong object type in lockowner_slab



The object type in the cache of lockowner_slab is wrong, and it is
better to fix it.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarYanchuan Nian <ycnian@gmail.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 01f6c8fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2340,7 +2340,7 @@ nfsd4_init_slabs(void)
	if (openowner_slab == NULL)
		goto out_nomem;
	lockowner_slab = kmem_cache_create("nfsd4_lockowners",
			sizeof(struct nfs4_openowner), 0, 0, NULL);
			sizeof(struct nfs4_lockowner), 0, 0, NULL);
	if (lockowner_slab == NULL)
		goto out_nomem;
	file_slab = kmem_cache_create("nfsd4_files",