projects
/
platform
/
kernel
/
linux-exynos.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
9559ce4
..
e6c3815
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;
}