diff options
Diffstat (limited to 'fs/udf/fsync.c')
-rw-r--r-- | fs/udf/fsync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/udf/fsync.c b/fs/udf/fsync.c index 6ded93e7c44f..7f0901c4f1f1 100644 --- a/fs/udf/fsync.c +++ b/fs/udf/fsync.c | |||
@@ -29,7 +29,7 @@ static int udf_fsync_inode(struct inode *, int); | |||
29 | * even pass file to fsync ? | 29 | * even pass file to fsync ? |
30 | */ | 30 | */ |
31 | 31 | ||
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 | return udf_fsync_inode(inode, datasync); | 35 | return udf_fsync_inode(inode, datasync); |
@@ -45,6 +45,6 @@ static int udf_fsync_inode(struct inode *inode, int datasync) | |||
45 | if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) | 45 | if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) |
46 | return err; | 46 | return err; |
47 | 47 | ||
48 | err |= udf_sync_inode (inode); | 48 | err |= udf_sync_inode(inode); |
49 | return err ? -EIO : 0; | 49 | return err ? -EIO : 0; |
50 | } | 50 | } |