fs: port vfs_*() helpers to struct mnt_idmap
[linux-block.git] / fs / ksmbd / vfs_cache.c
index da9163b003503acb8085ff2fe5e7189a76658c45..8489ff4d601aab66be46e5f5a66db2063c227951 100644 (file)
@@ -266,7 +266,7 @@ static void __ksmbd_inode_close(struct ksmbd_file *fp)
                        dir = dentry->d_parent;
                        ci->m_flags &= ~(S_DEL_ON_CLS | S_DEL_PENDING);
                        write_unlock(&ci->m_lock);
-                       ksmbd_vfs_unlink(file_mnt_user_ns(filp), dir, dentry);
+                       ksmbd_vfs_unlink(file_mnt_idmap(filp), dir, dentry);
                        write_lock(&ci->m_lock);
                }
                write_unlock(&ci->m_lock);