From 5fb35a3a9bc482110b2c6afd1a5004909fa12501 Mon Sep 17 00:00:00 2001 From: Weston Andros Adamson Date: Thu, 10 May 2012 15:31:10 -0400 Subject: 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 Signed-off-by: J. Bruce Fields --- fs/nfsd/fault_inject.c | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/nfsd') diff --git a/fs/nfsd/fault_inject.c b/fs/nfsd/fault_inject.c index 9559ce46873..e6c38159622 100644 --- a/fs/nfsd/fault_inject.c +++ b/fs/nfsd/fault_inject.c @@ -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; } -- cgit v1.2.3-70-g09d2