lib: fs: add library for implementing a filesystem service
This commit is contained in:
18
lib/libfs/include/fs/dentry.h
Normal file
18
lib/libfs/include/fs/dentry.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef FS_DENTRY_H_
|
||||
#define FS_DENTRY_H_
|
||||
|
||||
struct fs_inode;
|
||||
struct fs_superblock;
|
||||
|
||||
struct fs_dentry_ops {
|
||||
};
|
||||
|
||||
struct fs_dentry {
|
||||
struct fs_inode *d_inode;
|
||||
struct fs_dentry *d_parent;
|
||||
struct fs_superblock *d_sb;
|
||||
const struct fs_dentry_ops *d_ops;
|
||||
void *d_fsdata;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user