ext4: EXT4_IOC_MOVE_EXT: Check for different original and donor inodes first
authorTheodore Ts'o <tytso@mit.edu>
Mon, 28 Sep 2009 19:58:29 +0000 (15:58 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 28 Sep 2009 19:58:29 +0000 (15:58 -0400)
Move the check to make sure the original and donor inodes are
different earlier, to avoid a potential deadlock by trying to lock the
same inode twice.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found