]> 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>
Tue, 26 Mar 2013 23:24:12 +0000 (10:24 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:04:11 +0000 (17:04 +1100)
commit3876246f8dcaae3302fb935e884067444839ca0b
tree8e6073dfe84d7c4e0720fdcad3892e6aea4d33c3
parentb0cc893b3d79f2cf521ffa7fbf64552a91b595cd
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