mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
zsmalloc: don't bother with dentry_operations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -1817,11 +1817,7 @@ static void lock_zspage(struct zspage *zspage)
|
|||||||
static struct dentry *zs_mount(struct file_system_type *fs_type,
|
static struct dentry *zs_mount(struct file_system_type *fs_type,
|
||||||
int flags, const char *dev_name, void *data)
|
int flags, const char *dev_name, void *data)
|
||||||
{
|
{
|
||||||
static const struct dentry_operations ops = {
|
return mount_pseudo(fs_type, "zsmalloc:", NULL, NULL, ZSMALLOC_MAGIC);
|
||||||
.d_dname = simple_dname,
|
|
||||||
};
|
|
||||||
|
|
||||||
return mount_pseudo(fs_type, "zsmalloc:", NULL, &ops, ZSMALLOC_MAGIC);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct file_system_type zsmalloc_fs = {
|
static struct file_system_type zsmalloc_fs = {
|
||||||
|
|||||||
Reference in New Issue
Block a user