summaryrefslogtreecommitdiff
path: root/include/linux/dcache.h
blob: 3317fe342fd1ab8f89192ec582c8a20ecb71ea99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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 *sb) {}

#define QSTR_INIT(n,l) { { { .len = l } }, .name = n }
#define QSTR(n) (struct qstr)QSTR_INIT(n, strlen(n))

#endif	/* __LINUX_DCACHE_H */