Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba2dbaf
)
b=11680 don't call LBUG if reading force_lbug
author
Johann Lombardi
<johann@sun.com>
Fri, 15 Jan 2010 11:03:58 +0000
(12:03 +0100)
committer
Johann Lombardi
<johann@sun.com>
Fri, 15 Jan 2010 11:03:58 +0000
(12:03 +0100)
Should not happen because the permission is 0200,
but better to check.
lnet/libcfs/linux/linux-proc.c
patch
|
blob
|
history
diff --git
a/lnet/libcfs/linux/linux-proc.c
b/lnet/libcfs/linux/linux-proc.c
index
2df0510
..
11af5c0
100644
(file)
--- a/
lnet/libcfs/linux/linux-proc.c
+++ b/
lnet/libcfs/linux/linux-proc.c
@@
-333,9
+333,8
@@
int LL_PROC_PROTO(proc_console_backoff)
int LL_PROC_PROTO(libcfs_force_lbug)
{
-
- LBUG();
-
+ if (write)
+ LBUG();
}
static cfs_sysctl_table_t lnet_table[] = {