diff options
Diffstat (limited to 'fs/ext3/file.c')
| -rw-r--r-- | fs/ext3/file.c | 20 | 
1 files changed, 8 insertions, 12 deletions
diff --git a/fs/ext3/file.c b/fs/ext3/file.c index f55df0e61cb..a062fa1e1b1 100644 --- a/fs/ext3/file.c +++ b/fs/ext3/file.c @@ -18,12 +18,8 @@   *	(jj@sunsite.ms.mff.cuni.cz)   */ -#include <linux/time.h> -#include <linux/fs.h> -#include <linux/jbd.h>  #include <linux/quotaops.h> -#include <linux/ext3_fs.h> -#include <linux/ext3_jbd.h> +#include "ext3.h"  #include "xattr.h"  #include "acl.h" @@ -54,10 +50,10 @@ static int ext3_release_file (struct inode * inode, struct file * filp)  const struct file_operations ext3_file_operations = {  	.llseek		= generic_file_llseek, -	.read		= do_sync_read, -	.write		= do_sync_write, -	.aio_read	= generic_file_aio_read, -	.aio_write	= generic_file_aio_write, +	.read		= new_sync_read, +	.write		= new_sync_write, +	.read_iter	= generic_file_read_iter, +	.write_iter	= generic_file_write_iter,  	.unlocked_ioctl	= ext3_ioctl,  #ifdef CONFIG_COMPAT  	.compat_ioctl	= ext3_compat_ioctl, @@ -67,11 +63,10 @@ const struct file_operations ext3_file_operations = {  	.release	= ext3_release_file,  	.fsync		= ext3_sync_file,  	.splice_read	= generic_file_splice_read, -	.splice_write	= generic_file_splice_write, +	.splice_write	= iter_file_splice_write,  };  const struct inode_operations ext3_file_inode_operations = { -	.truncate	= ext3_truncate,  	.setattr	= ext3_setattr,  #ifdef CONFIG_EXT3_FS_XATTR  	.setxattr	= generic_setxattr, @@ -79,7 +74,8 @@ const struct inode_operations ext3_file_inode_operations = {  	.listxattr	= ext3_listxattr,  	.removexattr	= generic_removexattr,  #endif -	.check_acl	= ext3_check_acl, +	.get_acl	= ext3_get_acl, +	.set_acl	= ext3_set_acl,  	.fiemap		= ext3_fiemap,  };  | 
