diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2019-05-20 04:44:57 -0800 |
|---|---|---|
| committer | David Howells <dhowells@redhat.com> | 2019-05-20 05:09:46 -0800 |
| commit | 48b48750c3f9f91a4e340d0f796734ddd178ad9d (patch) | |
| tree | 5960e73d64959c644150fb46b0101681e0faef8b /mm | |
| parent | 985f4044871a5498206c4957c809c283ca84aca0 (diff) | |
| download | linux-stable-48b48750c3f9f91a4e340d0f796734ddd178ad9d.tar.gz linux-stable-48b48750c3f9f91a4e340d0f796734ddd178ad9d.tar.bz2 linux-stable-48b48750c3f9f91a4e340d0f796734ddd178ad9d.tar.xz linux-stable-48b48750c3f9f91a4e340d0f796734ddd178ad9d.zip | |
zsmalloc: don't bother with dentry_operations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm')
| -rw-r--r-- | mm/zsmalloc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index 0787d33b80d8..d9f831f63625 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c | |||
| @@ -1817,11 +1817,7 @@ static void lock_zspage(struct zspage *zspage) | |||
| 1817 | static struct dentry *zs_mount(struct file_system_type *fs_type, | 1817 | static struct dentry *zs_mount(struct file_system_type *fs_type, |
| 1818 | int flags, const char *dev_name, void *data) | 1818 | int flags, const char *dev_name, void *data) |
| 1819 | { | 1819 | { |
| 1820 | static const struct dentry_operations ops = { | 1820 | return mount_pseudo(fs_type, "zsmalloc:", NULL, NULL, ZSMALLOC_MAGIC); |
| 1821 | .d_dname = simple_dname, | ||
| 1822 | }; | ||
| 1823 | |||
| 1824 | return mount_pseudo(fs_type, "zsmalloc:", NULL, &ops, ZSMALLOC_MAGIC); | ||
| 1825 | } | 1821 | } |
| 1826 | 1822 | ||
| 1827 | static struct file_system_type zsmalloc_fs = { | 1823 | static struct file_system_type zsmalloc_fs = { |
