diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c index b8935afab20b05ce61849fb3405ce15a9345d8b3..f1d19603d23731dc3d385da9b18024b82c0e1fc4 100644 --- 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;