mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
nfsd: return 0 on reads of fault injection files
debugfs read operations were returning the contents of an uninitialized u64. Signed-off-by: Weston Andros Adamson <dros@netapp.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
ce0fc43c5a
commit
5fb35a3a9b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user