diff options
Diffstat (limited to 'fs/udf/fsync.c')
-rw-r--r-- | fs/udf/fsync.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/udf/fsync.c b/fs/udf/fsync.c index 7f0901c4f1f1..b2c472b733b8 100644 --- a/fs/udf/fsync.c +++ b/fs/udf/fsync.c | |||
@@ -32,6 +32,7 @@ static int udf_fsync_inode(struct inode *, int); | |||
32 | int udf_fsync_file(struct file *file, struct dentry *dentry, int datasync) | 32 | int udf_fsync_file(struct file *file, struct dentry *dentry, int datasync) |
33 | { | 33 | { |
34 | struct inode *inode = dentry->d_inode; | 34 | struct inode *inode = dentry->d_inode; |
35 | |||
35 | return udf_fsync_inode(inode, datasync); | 36 | return udf_fsync_inode(inode, datasync); |
36 | } | 37 | } |
37 | 38 | ||
@@ -46,5 +47,6 @@ static int udf_fsync_inode(struct inode *inode, int datasync) | |||
46 | return err; | 47 | return err; |
47 | 48 | ||
48 | err |= udf_sync_inode(inode); | 49 | err |= udf_sync_inode(inode); |
50 | |||
49 | return err ? -EIO : 0; | 51 | return err ? -EIO : 0; |
50 | } | 52 | } |