summaryrefslogtreecommitdiff
path: root/fs/ufs/file.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2007-10-17 10:26:51 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 19:42:51 +0400
commitbcd6d4ecf6868ed57d4daae5d48e52d0752566d2 (patch)
treec683016ae6fa2800070402574490aa6f9ad71867 /fs/ufs/file.c
parent3542ae4c17bb2c86e5658728ff73b3d5ca44532e (diff)
downloadlinux-bcd6d4ecf6868ed57d4daae5d48e52d0752566d2.tar.xz
ufs: move non-layout parts of ufs_fs.h to fs/ufs/
Move prototypes and in-core structures to fs/ufs/ similar to what most other filesystems already do. I made little modifications: move also ufs debug macros and mount options constants into fs/ufs/ufs.h, this stuff also private for ufs. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ufs/file.c')
-rw-r--r--fs/ufs/file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ufs/file.c b/fs/ufs/file.c
index 6705d74c6d2d..a46c97bf023f 100644
--- a/fs/ufs/file.c
+++ b/fs/ufs/file.c
@@ -27,6 +27,9 @@
#include <linux/ufs_fs.h>
#include <linux/buffer_head.h> /* for sync_mapping_buffers() */
+#include "ufs.h"
+
+
static int ufs_sync_file(struct file *file, struct dentry *dentry, int datasync)
{
struct inode *inode = dentry->d_inode;