From: Bob Peterson Date: Mon, 6 Jan 2014 22:16:01 +0000 (-0500) Subject: GFS2: Increase i_writecount during gfs2_setattr_chown X-Git-Tag: v3.14-rc1~140^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62e96cf81988101fe9e086b2877307b6adda5197;p=pandora-kernel.git GFS2: Increase i_writecount during gfs2_setattr_chown 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 reservation while the function is running. It also ensures that a multi-block reservation exists when needed for quota change operations during the chown. Signed-off-by: Bob Peterson Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed