Re: [Cluster-devel] [GFS2 PATCH] GFS2: Increase i_writecount during gfs2_setattr_chown

2014-01-07 Thread Steven Whitehouse
Hi, I've added this to the -nmw git tree. Thanks, Steve. On Mon, 2014-01-06 at 17:16 -0500, Bob Peterson wrote: Hi, This patch calls get_write_access in function gfs2_setattr_chown, which merely increases inode-i_writecount for the duration of the function. That will ensure that any file

Re: [Cluster-devel] [GFS2 PATCH] GFS2: Increase i_writecount during gfs2_setattr_chown

2014-01-07 Thread Christoph Hellwig
On Mon, Jan 06, 2014 at 05:16:01PM -0500, Bob Peterson wrote: Hi, This patch calls get_write_access in function gfs2_setattr_chown, which merely increases inode-i_writecount for the duration of the function. That will ensure that any file closes won't delete the inode's multi-block