diff options
Diffstat (limited to 'fs/cachefiles')
-rw-r--r-- | fs/cachefiles/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cachefiles/namei.c b/fs/cachefiles/namei.c index 8c01c5fcdf75..07cbd447861e 100644 --- a/fs/cachefiles/namei.c +++ b/fs/cachefiles/namei.c | |||
@@ -836,7 +836,7 @@ static struct dentry *cachefiles_check_active(struct cachefiles_cache *cache, | |||
836 | // dir->d_name.len, dir->d_name.len, dir->d_name.name, filename); | 836 | // dir->d_name.len, dir->d_name.len, dir->d_name.name, filename); |
837 | 837 | ||
838 | /* look up the victim */ | 838 | /* look up the victim */ |
839 | mutex_lock_nested(&dir->d_inode->i_mutex, 1); | 839 | mutex_lock_nested(&dir->d_inode->i_mutex, I_MUTEX_PARENT); |
840 | 840 | ||
841 | start = jiffies; | 841 | start = jiffies; |
842 | victim = lookup_one_len(filename, dir, strlen(filename)); | 842 | victim = lookup_one_len(filename, dir, strlen(filename)); |