ceph: use snprintf for dirstat content
authorSage Weil <sage@newdream.net>
Thu, 12 May 2011 21:28:05 +0000 (14:28 -0700)
committerSage Weil <sage@newdream.net>
Thu, 19 May 2011 18:25:02 +0000 (11:25 -0700)
commitae598083015e22d1802617c18d3408971b1bddc0
tree3aba3bf823153f0e9fd8a8748b1acfdc5ab10e34
parente8f54ce169125a2e59330fac25ad3c9ac0ce22a5
ceph: use snprintf for dirstat content

We allocate a buffer for rstats if the dirstat option is enabled.  Use
snprintf.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/dir.c