On Fri, Jul 31, 2015 at 12:36:22AM -0700, Christoph Hellwig wrote: > On Thu, Jul 30, 2015 at 04:33:01PM -0400, hubcap wrote: > > From: Mike Marshall <hubcap@xxxxxxxxxxxx> > > > > make.cross ARCH=tile doesn't like "inode->i_bytes = PAGE_CACHE_SIZE;", > > so cast PAGE_CACHE_SIZE to unsigned short. > > I don't think this is correct. i_bytes is short because it only > contains the low bits of th size, the rest goes into i_blocks. > > You probably want to use inode_set_bytes here instead. ... or just leave ->i_bytes zero, what with PAGE_CACHE_SIZE being a multiple of 512... -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html