mirror of
https://github.com/XTXMarkets/ternfs.git
synced 2025-12-30 15:30:28 -06:00
Also, start renaming static stuff taking `eggsfs` out, I get tired typing. Various other tweaks, too.
23 lines
652 B
C
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
|