commit | f3ce8064b388ccf420012c5a4907aae4f13fe9d0 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Mon Sep 28 15:58:29 2009 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Sep 28 15:58:29 2009 -0400 |
tree | 3d0cbfffc75ea698726d71c06c9b0be82982d6eb | |
parent | 8d5d02e6b176565c77ff03604908b1453a22044d [diff] |
ext4: EXT4_IOC_MOVE_EXT: Check for different original and donor inodes first 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>