aboutsummaryrefslogtreecommitdiffstats
path: root/fs/udf
diff options
context:
space:
mode:
Diffstat (limited to 'fs/udf')
-rw-r--r--fs/udf/dir.c3
-rw-r--r--fs/udf/file.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/fs/udf/dir.c b/fs/udf/dir.c
index 3a84455c2a77..51552bf50225 100644
--- a/fs/udf/dir.c
+++ b/fs/udf/dir.c
@@ -207,8 +207,9 @@ static int udf_readdir(struct file *filp, void *dirent, filldir_t filldir)
207 207
208/* readdir and lookup functions */ 208/* readdir and lookup functions */
209const struct file_operations udf_dir_operations = { 209const struct file_operations udf_dir_operations = {
210 .llseek = generic_file_llseek,
210 .read = generic_read_dir, 211 .read = generic_read_dir,
211 .readdir = udf_readdir, 212 .readdir = udf_readdir,
212 .unlocked_ioctl = udf_ioctl, 213 .unlocked_ioctl = udf_ioctl,
213 .fsync = simple_fsync, 214 .fsync = generic_file_fsync,
214}; 215};
diff --git a/fs/udf/file.c b/fs/udf/file.c
index 0db1d672950e..94e06d6bddbd 100644
--- a/fs/udf/file.c
+++ b/fs/udf/file.c
@@ -223,7 +223,7 @@ const struct file_operations udf_file_operations = {
223 .write = do_sync_write, 223 .write = do_sync_write,
224 .aio_write = udf_file_aio_write, 224 .aio_write = udf_file_aio_write,
225 .release = udf_release_file, 225 .release = udf_release_file,
226 .fsync = simple_fsync, 226 .fsync = generic_file_fsync,
227 .splice_read = generic_file_splice_read, 227 .splice_read = generic_file_splice_read,
228 .llseek = generic_file_llseek, 228 .llseek = generic_file_llseek,
229}; 229};