summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_dentry.h
diff options
context:
space:
mode:
authorSteven Whitehouse2006-09-05 16:39:21 +0200
committerSteven Whitehouse2006-09-05 16:39:21 +0200
commitf2f7ba5237e2fe10ba3e328a4f728b9e1ff141da (patch)
treeab55597fa51321ba74e60d17b6fb449e23e8145c /fs/gfs2/ops_dentry.h
parent[GFS2] Directory code style changes (diff)
downloadkernel-qcow2-linux-f2f7ba5237e2fe10ba3e328a4f728b9e1ff141da.tar.gz
kernel-qcow2-linux-f2f7ba5237e2fe10ba3e328a4f728b9e1ff141da.tar.xz
kernel-qcow2-linux-f2f7ba5237e2fe10ba3e328a4f728b9e1ff141da.zip
[GFS2] Make headers compile on their own
As per Jan Engelhardt's comments, this should make all the headers compile on their own by including and/or declaring structures early. Cc: Jan Engelhardt <jengelh@linux01.gwdg.de> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_dentry.h')
-rw-r--r--fs/gfs2/ops_dentry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/gfs2/ops_dentry.h b/fs/gfs2/ops_dentry.h
index e7b05e5c62ec..5caa3db4d3f5 100644
--- a/fs/gfs2/ops_dentry.h
+++ b/fs/gfs2/ops_dentry.h
@@ -10,6 +10,8 @@
#ifndef __OPS_DENTRY_DOT_H__
#define __OPS_DENTRY_DOT_H__
+#include <linux/dcache.h>
+
extern struct dentry_operations gfs2_dops;
#endif /* __OPS_DENTRY_DOT_H__ */