1LOCK_TWO_NONDIRECTOR(9) The Linux VFS LOCK_TWO_NONDIRECTOR(9)
23
4
NAME
6lock_two_nondirectories - take two i_mutexes on non-directory objects
7
SYNOPSIS
9void lock_two_nondirectories(struct inode * inode1,
10struct inode * inode2);
11
ARGUMENTS
13inode1
14first inode to lock
1516
inode2
17second inode to lock
18
DESCRIPTION
20Lock any non-NULL argument that is not a directory. Zero, one or two
21objects may be locked by this function.
22
COPYRIGHT
24Kernel Hackers Manual 3.10 June 2019 LOCK_TWO_NONDIRECTOR(9)