]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ocfs2: delay inode update transactions after verifying the input flags
authorJeff Liu <jeff.liu@oracle.com>
Wed, 20 Mar 2013 04:06:58 +0000 (15:06 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:28:20 +0000 (16:28 +1100)
commit117ac1c1a7061f0b6872d6f4e63cf2c86ec76d44
treecdf9bae453ebec7d3aee6d3239a8c74ec9af9318
parentd23dac53ed4a488b28da4d546d04748640339df5
ocfs2: delay inode update transactions after verifying the input flags

There is no need to start the inode update transactions before/while
verifying the input flags.  As a refinement, this patch delay the
transactions utill the pre-check up is ok.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Acked-by: Joel Becker <jlbec@evilplan.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/ocfs2/ioctl.c