From: Djalal Harouni Date: Mon, 9 Jan 2012 14:58:37 +0000 (+0100) Subject: ext2: protect inode changes in the SETVERSION and SETFLAGS ioctls X-Git-Tag: v3.3-rc2~38^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34b07840565004cfa444e165e88bf77a5cbcdb25;p=pandora-kernel.git ext2: protect inode changes in the SETVERSION and SETFLAGS ioctls Unlock mutex after i_flags and i_ctime updates in the EXT2_IOC_SETFLAGS ioctl. Use i_mutex in the EXT2_IOC_SETVERSION ioctl to protect i_ctime and i_generation updates and make the ioctl consistent since i_mutex is also used in other places to protect timestamps and inode changes. Cc: Andreas Dilger Cc: Jan Kara Signed-off-by: Djalal Harouni Signed-off-by: Jan Kara --- Reading git-diff-tree failed