summaryrefslogtreecommitdiff
path: root/include/linux/dcache.h
blob: b9d0ea2251ee553b2ad25f22dbcccfbe5eb8f319 (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 *) {}

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

#endif	/* __LINUX_DCACHE_H */