lock_two_nondirectories(9) take two i_mutexes on non-directory objects

SYNOPSIS

void lock_two_nondirectories(struct inode * inode1, struct inode * inode2);

ARGUMENTS

inode1

first inode to lock

inode2

second inode to lock

COPYRIGHT