[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] large file support for lomount (for 32-bit dom0)
Give lomount large file support on a 32-bit dom0 so that file images larger than 4GB can be lomount'ed. Signed-off-by: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx> diff -r 23b43708aad6 tools/misc/lomount/lomount.c --- a/tools/misc/lomount/lomount.c Wed Nov 04 22:32:01 2009 +0000 +++ b/tools/misc/lomount/lomount.c Thu Nov 05 07:41:34 2009 -0700 @@ -34,6 +34,9 @@ * bit 7 clear: lomount wrapper ok; mount's return code in low 7 bits * 0 success */ + +#define _LARGEFILE_SOURCE +#define _FILE_OFFSET_BITS 64 enum { Attachment:
lomount.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |