Re: [patch 01/11] fs: new truncate helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux