Skip to content

Commit

Permalink
switch udf to simple_fsync()
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Jun 12, 2009
1 parent a932801 commit 90de066
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 58 deletions.
2 changes: 1 addition & 1 deletion fs/udf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
obj-$(CONFIG_UDF_FS) += udf.o

udf-objs := balloc.o dir.o file.o ialloc.o inode.o lowlevel.o namei.o \
partition.o super.o truncate.o symlink.o fsync.o \
partition.o super.o truncate.o symlink.o \
directory.o misc.o udftime.o unicode.o
2 changes: 1 addition & 1 deletion fs/udf/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,5 +210,5 @@ const struct file_operations udf_dir_operations = {
.read = generic_read_dir,
.readdir = udf_readdir,
.ioctl = udf_ioctl,
.fsync = udf_fsync_file,
.fsync = simple_fsync,
};
2 changes: 1 addition & 1 deletion fs/udf/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ const struct file_operations udf_file_operations = {
.write = do_sync_write,
.aio_write = udf_file_aio_write,
.release = udf_release_file,
.fsync = udf_fsync_file,
.fsync = simple_fsync,
.splice_read = generic_file_splice_read,
.llseek = generic_file_llseek,
};
Expand Down
52 changes: 0 additions & 52 deletions fs/udf/fsync.c

This file was deleted.

3 changes: 0 additions & 3 deletions fs/udf/udfdecl.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,6 @@ extern int udf_prealloc_blocks(struct super_block *, struct inode *, uint16_t,
extern int udf_new_block(struct super_block *, struct inode *, uint16_t,
uint32_t, int *);

/* fsync.c */
extern int udf_fsync_file(struct file *, struct dentry *, int);

/* directory.c */
extern struct fileIdentDesc *udf_fileident_read(struct inode *, loff_t *,
struct udf_fileident_bh *,
Expand Down

0 comments on commit 90de066

Please sign in to comment.