aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/dir.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-09-05 10:39:21 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-05 10:39:21 -0400
commitf2f7ba5237e2fe10ba3e328a4f728b9e1ff141da (patch)
treeab55597fa51321ba74e60d17b6fb449e23e8145c /fs/gfs2/dir.h
parent2bdbc5d73961c040fdc9b30d985fab3047d697a0 (diff)
[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/dir.h')
-rw-r--r--fs/gfs2/dir.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/gfs2/dir.h b/fs/gfs2/dir.h
index d32449f0839..371233419b0 100644
--- a/fs/gfs2/dir.h
+++ b/fs/gfs2/dir.h
@@ -10,6 +10,12 @@
10#ifndef __DIR_DOT_H__ 10#ifndef __DIR_DOT_H__
11#define __DIR_DOT_H__ 11#define __DIR_DOT_H__
12 12
13#include <linux/dcache.h>
14
15struct inode;
16struct gfs2_inode;
17struct gfs2_inum;
18
13/** 19/**
14 * gfs2_filldir_t - Report a directory entry to the caller of gfs2_dir_read() 20 * gfs2_filldir_t - Report a directory entry to the caller of gfs2_dir_read()
15 * @opaque: opaque data used by the function 21 * @opaque: opaque data used by the function