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

Commit 5fb35a3a authored by Weston Andros Adamson's avatar Weston Andros Adamson Committed by J. Bruce Fields
Browse files

nfsd: return 0 on reads of fault injection files



debugfs read operations were returning the contents of an uninitialized u64.

Signed-off-by: default avatarWeston Andros Adamson <dros@netapp.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent ce0fc43c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ static int nfsd_inject_set(void *op_ptr, u64 val)

static int nfsd_inject_get(void *data, u64 *val)
{
	*val = 0;
	return 0;
}