projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e87ed0
)
GFS2: Fix up "off by one" in the previous patch
author
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 21 Nov 2011 10:05:55 +0000
(10:05 +0000)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 21 Nov 2011 10:05:55 +0000
(10:05 +0000)
The trace point should take extlen and not *ndata as the
extent length.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/rgrp.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/rgrp.c
b/fs/gfs2/rgrp.c
index
b8935af
..
f1d1960
100644
(file)
--- a/
fs/gfs2/rgrp.c
+++ b/
fs/gfs2/rgrp.c
@@
-1378,7
+1378,7
@@
int gfs2_alloc_blocks(struct gfs2_inode *ip, u64 *bn, unsigned int *ndata,
ip->i_inode.i_gid);
rgd->rd_free_clone -= extlen;
- trace_gfs2_block_alloc(ip, block,
*ndata
,
+ trace_gfs2_block_alloc(ip, block,
extlen
,
dinode ? GFS2_BLKST_DINODE : GFS2_BLKST_USED);
*bn = block;
return 0;