table of contents
other versions
LOCK_TWO_NONDIRECTOR(9) | The Linux VFS | LOCK_TWO_NONDIRECTOR(9) |
NAME¶
lock_two_nondirectories - take two i_mutexes on non-directory objects
SYNOPSIS¶
void lock_two_nondirectories(struct inode * inode1, struct inode * inode2);
ARGUMENTS¶
struct inode * inode1
first inode to lock
struct inode * inode2
second inode to lock
DESCRIPTION¶
Lock any non-NULL argument that is not a directory. Zero, one or two objects may be locked by this function.
COPYRIGHT¶
July 2017 | Kernel Hackers Manual 4.12 |