mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
fs: rename inode_lock to inode_hash_lock
All that remains of the inode_lock is protecting the inode hash list manipulation and traversals. Rename the inode_lock to inode_hash_lock to reflect it's actual function. Signed-off-by: Dave Chinner <[email protected]> Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
a66979abad
commit
67a23c4946
6 changed files with 63 additions and 56 deletions
|
|
@ -54,7 +54,7 @@
|
|||
*
|
||||
* Return 1 if the attributes match and 0 if not.
|
||||
*
|
||||
* NOTE: This function runs with the inode_lock spin lock held so it is not
|
||||
* NOTE: This function runs with the inode->i_lock spin lock held so it is not
|
||||
* allowed to sleep.
|
||||
*/
|
||||
int ntfs_test_inode(struct inode *vi, ntfs_attr *na)
|
||||
|
|
@ -98,7 +98,7 @@ int ntfs_test_inode(struct inode *vi, ntfs_attr *na)
|
|||
*
|
||||
* Return 0 on success and -errno on error.
|
||||
*
|
||||
* NOTE: This function runs with the inode_lock spin lock held so it is not
|
||||
* NOTE: This function runs with the inode->i_lock spin lock held so it is not
|
||||
* allowed to sleep. (Hence the GFP_ATOMIC allocation.)
|
||||
*/
|
||||
static int ntfs_init_locked_inode(struct inode *vi, ntfs_attr *na)
|
||||
|
|
|
|||
Loading…
Reference in a new issue