summaryrefslogtreecommitdiff
path: root/include/asm-generic/cmpxchg-local.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-09-28 23:58:29 +0400
committerTheodore Ts'o <tytso@mit.edu>2009-09-28 23:58:29 +0400
commitf3ce8064b388ccf420012c5a4907aae4f13fe9d0 (patch)
tree3d0cbfffc75ea698726d71c06c9b0be82982d6eb /include/asm-generic/cmpxchg-local.h
parent8d5d02e6b176565c77ff03604908b1453a22044d (diff)
downloadlinux-f3ce8064b388ccf420012c5a4907aae4f13fe9d0.tar.xz
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>
Diffstat (limited to 'include/asm-generic/cmpxchg-local.h')
0 files changed, 0 insertions, 0 deletions