summaryrefslogtreecommitdiffstats
path: root/fs/afs/dynroot.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-09-15 18:19:48 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2019-09-15 18:19:48 +0200
commit473ef57ad8edc25efd083a583a5f6604b47d3822 (patch)
treec1c36574febe19a0da939e0acec4c3d35ccf0930 /fs/afs/dynroot.c
parentfs/handle.c - fix up kerneldoc (diff)
downloadlinux-473ef57ad8edc25efd083a583a5f6604b47d3822.tar.xz
linux-473ef57ad8edc25efd083a583a5f6604b47d3822.zip
afs dynroot: switch to simple_dir_operations
no point reinventing it (with wrong ->read(), BTW). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/afs/dynroot.c')
-rw-r--r--fs/afs/dynroot.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/afs/dynroot.c b/fs/afs/dynroot.c
index bcd1bafb0278..4150280509ff 100644
--- a/fs/afs/dynroot.c
+++ b/fs/afs/dynroot.c
@@ -10,13 +10,6 @@
#include <linux/dns_resolver.h>
#include "internal.h"
-const struct file_operations afs_dynroot_file_operations = {
- .open = dcache_dir_open,
- .release = dcache_dir_close,
- .iterate_shared = dcache_readdir,
- .llseek = dcache_dir_lseek,
-};
-
/*
* Probe to see if a cell may exist. This prevents positive dentries from
* being created unnecessarily.