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:
c14688e
)
ocfs2: clean up unused parameter 'count' in o2hb_read_block_input()
author
Jun Piao
<
[email protected]
>
Fri, 20 May 2016 00:09:50 +0000
(17:09 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 20 May 2016 02:12:14 +0000
(19:12 -0700)
Clean up unused parameter 'count' in o2hb_read_block_input().
Signed-off-by: Jun Piao <
[email protected]
>
Reviewed-by: Joseph Qi <
[email protected]
>
Cc: Mark Fasheh <
[email protected]
>
Cc: Joel Becker <
[email protected]
>
Cc: Junxiao Bi <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/ocfs2/cluster/heartbeat.c
patch
|
blob
|
history
diff --git
a/fs/ocfs2/cluster/heartbeat.c
b/fs/ocfs2/cluster/heartbeat.c
index 1934abb6b68081a91309a1ee503b4653b3cf23f6..a8d15beee5cb542d02ff29eab921c2afd2b8569b 100644
(file)
--- a/
fs/ocfs2/cluster/heartbeat.c
+++ b/
fs/ocfs2/cluster/heartbeat.c
@@
-1456,7
+1456,6
@@
static void o2hb_region_release(struct config_item *item)
static int o2hb_read_block_input(struct o2hb_region *reg,
const char *page,
- size_t count,
unsigned long *ret_bytes,
unsigned int *ret_bits)
{
@@
-1499,8
+1498,8
@@
static ssize_t o2hb_region_block_bytes_store(struct config_item *item,
if (reg->hr_bdev)
return -EINVAL;
- status = o2hb_read_block_input(reg, page,
count
,
- &block_b
ytes, &block_b
its);
+ status = o2hb_read_block_input(reg, page,
&block_bytes
,
+ &block_bits);
if (status)
return status;