On Mon, 2009-09-07 at 09:33 +0200, Nick Piggin wrote: > > >+int inode_newsize_ok(struct inode *inode, loff_t offset) > > >+{ > > > > Could you use 'const' for inode here? > > Sorry, I don't think I replied to you. Thanks for the suggestions, yes > const wouldn't hurt I guess. I will be sending a couple of incremental > updates to Andrew shortly so I'll include that. Thanks. I have done 'new_truncate' modifications for UBIFS and got gcc warnings because my calling functions use 'const'. -- Best Regards, Artem Bityutskiy (Артём Битюцкий) -- 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