git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
fs
/
jfs
/
file.c
diff --git
a/fs/jfs/file.c
b/fs/jfs/file.c
index
a87b06f
..
c156e02
100644
(file)
--- a/
fs/jfs/file.c
+++ b/
fs/jfs/file.c
@@
-1,6
+1,6
@@
/*
/*
- * Copyright (
c
) International Business Machines Corp., 2000-2002
- * Portions Copyright (
c
) Christoph Hellwig, 2001-2002
+ * Copyright (
C
) International Business Machines Corp., 2000-2002
+ * Portions Copyright (
C
) Christoph Hellwig, 2001-2002
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-19,16
+19,13
@@
#include <linux/fs.h>
#include "jfs_incore.h"
#include <linux/fs.h>
#include "jfs_incore.h"
+#include "jfs_inode.h"
#include "jfs_dmap.h"
#include "jfs_txnmgr.h"
#include "jfs_xattr.h"
#include "jfs_acl.h"
#include "jfs_debug.h"
#include "jfs_dmap.h"
#include "jfs_txnmgr.h"
#include "jfs_xattr.h"
#include "jfs_acl.h"
#include "jfs_debug.h"
-
-extern int jfs_commit_inode(struct inode *, int);
-extern void jfs_truncate(struct inode *);
-
int jfs_fsync(struct file *file, struct dentry *dentry, int datasync)
{
struct inode *inode = dentry->d_inode;
int jfs_fsync(struct file *file, struct dentry *dentry, int datasync)
{
struct inode *inode = dentry->d_inode;
@@
-101,9
+98,10
@@
struct inode_operations jfs_file_inode_operations = {
.setattr = jfs_setattr,
.permission = jfs_permission,
#endif
.setattr = jfs_setattr,
.permission = jfs_permission,
#endif
+ .sync_flags = jfs_sync_flags,
};
};
-struct file_operations jfs_file_operations = {
+
const
struct file_operations jfs_file_operations = {
.open = jfs_open,
.llseek = generic_file_llseek,
.write = generic_file_write,
.open = jfs_open,
.llseek = generic_file_llseek,
.write = generic_file_write,
@@
-116,4
+114,5
@@
struct file_operations jfs_file_operations = {
.sendfile = generic_file_sendfile,
.fsync = jfs_fsync,
.release = jfs_release,
.sendfile = generic_file_sendfile,
.fsync = jfs_fsync,
.release = jfs_release,
+ .ioctl = jfs_ioctl,
};
};