Files
ternfs-XTXMarkets/kmod/dentry.h
Francesco Mazzoli 583b53a111 Continue tightening various ownership structures
Also, start renaming static stuff taking `eggsfs` out, I get tired
typing. Various other tweaks, too.
2023-06-13 14:52:45 +00:00

23 lines
652 B
C

#ifndef _EGGSFS_DENTRY_H
#define _EGGSFS_DENTRY_H
#include <linux/fs.h>
#include "counter.h"
EGGSFS_DECLARE_COUNTER(eggsfs_stat_dir_revalidations);
extern struct dentry_operations eggsfs_dentry_ops;
struct dentry* eggsfs_lookup(struct inode* dir, struct dentry* dentry, unsigned int flags);
int eggsfs_mkdir(struct inode* dir, struct dentry* dentry, umode_t mode);
int eggsfs_rmdir(struct inode* dir, struct dentry* dentry);
int eggsfs_unlink(struct inode* dir, struct dentry* dentry);
int eggsfs_rename(
struct inode* old_dir, struct dentry* old_dentry,
struct inode* new_dir, struct dentry* new_dentry,
unsigned int flags
);
#endif