Skip to content
Commit f3ce8064 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

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: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 8d5d02e6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment