/**
  * kernfs_create_root - create a new kernfs hierarchy
- * @kdops: optional directory syscall operations for the hierarchy
+ * @scops: optional syscall operations for the hierarchy
  * @priv: opaque data associated with the new directory
  *
  * Returns the root of the new hierarchy on success, ERR_PTR() value on
  * failure.
  */
-struct kernfs_root *kernfs_create_root(struct kernfs_dir_ops *kdops, void *priv)
+struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops,
+                                      void *priv)
 {
        struct kernfs_root *root;
        struct kernfs_node *kn;
        kn->priv = priv;
        kn->dir.root = root;
 
-       root->dir_ops = kdops;
+       root->syscall_ops = scops;
        root->kn = kn;
        init_waitqueue_head(&root->deactivate_waitq);
 
                            umode_t mode)
 {
        struct kernfs_node *parent = dir->i_private;
-       struct kernfs_dir_ops *kdops = kernfs_root(parent)->dir_ops;
+       struct kernfs_syscall_ops *scops = kernfs_root(parent)->syscall_ops;
        int ret;
 
-       if (!kdops || !kdops->mkdir)
+       if (!scops || !scops->mkdir)
                return -EPERM;
 
        if (!kernfs_get_active(parent))
                return -ENODEV;
 
-       ret = kdops->mkdir(parent, dentry->d_name.name, mode);
+       ret = scops->mkdir(parent, dentry->d_name.name, mode);
 
        kernfs_put_active(parent);
        return ret;
 static int kernfs_iop_rmdir(struct inode *dir, struct dentry *dentry)
 {
        struct kernfs_node *kn  = dentry->d_fsdata;
-       struct kernfs_dir_ops *kdops = kernfs_root(kn)->dir_ops;
+       struct kernfs_syscall_ops *scops = kernfs_root(kn)->syscall_ops;
        int ret;
 
-       if (!kdops || !kdops->rmdir)
+       if (!scops || !scops->rmdir)
                return -EPERM;
 
        if (!kernfs_get_active(kn))
                return -ENODEV;
 
-       ret = kdops->rmdir(kn);
+       ret = scops->rmdir(kn);
 
        kernfs_put_active(kn);
        return ret;
 {
        struct kernfs_node *kn  = old_dentry->d_fsdata;
        struct kernfs_node *new_parent = new_dir->i_private;
-       struct kernfs_dir_ops *kdops = kernfs_root(kn)->dir_ops;
+       struct kernfs_syscall_ops *scops = kernfs_root(kn)->syscall_ops;
        int ret;
 
-       if (!kdops || !kdops->rename)
+       if (!scops || !scops->rename)
                return -EPERM;
 
        if (!kernfs_get_active(kn))
                return -ENODEV;
        }
 
-       ret = kdops->rename(kn, new_parent, new_dentry->d_name.name);
+       ret = scops->rename(kn, new_parent, new_dentry->d_name.name);
 
        kernfs_put_active(new_parent);
        kernfs_put_active(kn);
 
 };
 
 /*
- * kernfs_dir_ops may be specified on kernfs_create_root() to support
- * directory manipulation syscalls.  These optional callbacks are invoked
- * on the matching syscalls and can perform any kernfs operations which
- * don't necessarily have to be the exact operation requested.  An active
- * reference is held for each kernfs_node parameter.
+ * kernfs_syscall_ops may be specified on kernfs_create_root() to support
+ * syscalls.  These optional callbacks are invoked on the matching syscalls
+ * and can perform any kernfs operations which don't necessarily have to be
+ * the exact operation requested.  An active reference is held for each
+ * kernfs_node parameter.
  */
-struct kernfs_dir_ops {
+struct kernfs_syscall_ops {
        int (*mkdir)(struct kernfs_node *parent, const char *name,
                     umode_t mode);
        int (*rmdir)(struct kernfs_node *kn);
 
        /* private fields, do not use outside kernfs proper */
        struct ida              ino_ida;
-       struct kernfs_dir_ops   *dir_ops;
+       struct kernfs_syscall_ops *syscall_ops;
        wait_queue_head_t       deactivate_waitq;
 };
 
 void kernfs_get(struct kernfs_node *kn);
 void kernfs_put(struct kernfs_node *kn);
 
-struct kernfs_root *kernfs_create_root(struct kernfs_dir_ops *kdops,
+struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops,
                                       void *priv);
 void kernfs_destroy_root(struct kernfs_root *root);
 
 static inline void kernfs_put(struct kernfs_node *kn) { }
 
 static inline struct kernfs_root *
-kernfs_create_root(struct kernfs_dir_ops *kdops, void *priv)
+kernfs_create_root(struct kernfs_syscall_ops *scops, void *priv)
 { return ERR_PTR(-ENOSYS); }
 
 static inline void kernfs_destroy_root(struct kernfs_root *root) { }