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:
b7bf1d7
)
b=16683
author
brian
<brian>
Tue, 12 Aug 2008 19:17:56 +0000
(19:17 +0000)
committer
brian
<brian>
Tue, 12 Aug 2008 19:17:56 +0000
(19:17 +0000)
i=nathan.rutman
i=robert.read
Avoid a possible integer overflow, idenfitied by Coverty care of LLNL.
lustre/utils/obd.c
patch
|
blob
|
history
diff --git
a/lustre/utils/obd.c
b/lustre/utils/obd.c
index
4ba20ae
..
8e6db0b
100644
(file)
--- a/
lustre/utils/obd.c
+++ b/
lustre/utils/obd.c
@@
-121,7
+121,7
@@
struct lsm_buffer {
struct lov_oinfo *ptrs[MAX_STRIPES];
} lsm_buffer;
-static int l2_ioctl(int dev_id, int opc, void *buf)
+static int l2_ioctl(int dev_id,
unsigned
int opc, void *buf)
{
return l_ioctl(dev_id, opc, buf);
}