projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce0fc43
)
nfsd: return 0 on reads of fault injection files
author
Weston Andros Adamson
<dros@netapp.com>
Thu, 10 May 2012 19:31:10 +0000
(15:31 -0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Fri, 1 Jun 2012 00:29:48 +0000
(20:29 -0400)
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>
fs/nfsd/fault_inject.c
patch
|
blob
|
history
diff --git
a/fs/nfsd/fault_inject.c
b/fs/nfsd/fault_inject.c
index 9559ce468732e7c00ae40cd4fc3a379a525ecef7..e6c38159622fe6bc337f3d24ada7db683838ceac 100644
(file)
--- 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;
}