bcachefs-tools/include/linux/dcache.h
2025-03-16 16:09:01 -04:00

18 lines
358 B
C

#ifndef __LINUX_DCACHE_H
#define __LINUX_DCACHE_H
struct super_block;
struct inode;
struct dentry {
struct super_block *d_sb;
struct inode *d_inode;
};
static inline void shrink_dcache_sb(struct super_block *) {}
#define QSTR_INIT(n,l) { { { .len = l } }, .name = n }
#define QSTR(n) (struct qstr)QSTR_INIT(n, strlen(n))
#endif /* __LINUX_DCACHE_H */