Re: [Ocfs2-devel] [PATCH] ocfs2: Remove the deprecated inode_setattr.

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

 



On Wed, Jun 09, 2010 at 12:14:34PM +0200, Christoph Hellwig wrote:
> On Wed, Jun 09, 2010 at 03:12:07AM -0700, Joel Becker wrote:
> > > OK, can you comment that or just open-code the truncate part of
> > > simple_setsize? It should be helpful for example with Christoph's
> > > truncate cleanup work.
> > 
> > 	Just open-code it.  The void calls are much nicer than useless
> > return code boilerplate. 
> 
> Note that if you rebase against vfs.git #for_next simple_setsize is
> replaced with a truncate_setsize that does all the work but the
> inode_newsize_ok check.  As I mentioned before please do the work ontop
> of that branch, it does make the ->setattr ATTR_SIZE implementation much
> nicer for the filesystems.

	Works for me.

Joel

-- 

"Glory is fleeting, but obscurity is forever."  
         - Napoleon Bonaparte

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker@xxxxxxxxxx
Phone: (650) 506-8127
--
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