Revert "exfat: limit backup volume name to 11 characters"

This reverts commit c79381d32a.
This commit is contained in:
John Scipione
2014-02-05 20:09:32 -05:00
parent 4f57b13404
commit 88e24cf64f
@@ -386,8 +386,8 @@ Volume::Mount(const char* deviceName, uint32 flags)
double size = double((10 * diskSize + divisor - 1) / divisor);
// %g in the kernel does not support precision...
snprintf(fName, 11 + 1, "%g %cB ExFAT", size / 10, unit);
// exfat volume names can only contain 11 characters
snprintf(fName, sizeof(fName), "%g %cB ExFAT Volume",
size / 10, unit);
}
return B_OK;