exofs: Cap on the memcpy() size
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 30 Jan 2012 07:59:49 +0000 (10:59 +0300)
committerBoaz Harrosh <bharrosh@panasas.com>
Mon, 19 Mar 2012 20:39:12 +0000 (13:39 -0700)
This data comes from the device, so probably it's fairly trustworthy but
it makes the static checkers happy if we check it.

[Boaz]
  the system_id_len is zero, if not present, or always OSD_SYSTEMID_LEN.
  So always copy OSD_SYSTEMID_LEN bytes.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>

No differences found