summaryrefslogtreecommitdiff
path: root/drivers/input/input.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2008-12-09 12:47:31 +0300
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-12-11 05:13:52 +0300
commit2175dd95741bda5f438e4efe388a8c1bb5abf1cc (patch)
treecf861111885ed094b64d0680d4aa901c8e30cbcf /drivers/input/input.c
parent15ac08a8b2c129abccf1be47b6ab09491e013db2 (diff)
downloadlinux-2175dd95741bda5f438e4efe388a8c1bb5abf1cc.tar.xz
[XFS] simplify projid check in xfs_rename
Check for the project ID after attaching all inodes to the transaction. That way the unlock in the error case is done by the transaction subsystem, which guaratees that is uses the right flags (which was wrong from day one of this check), and avoids having special code unlocking an array of inodes with potential duplicates. Attaching the inode first is the method used by xfs_rename and the other namespace methods all other error that require multiple locked inodes. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <david@fromorbit.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'drivers/input/input.c')
0 files changed, 0 insertions, 0 deletions