summaryrefslogtreecommitdiffstats
path: root/fs/udf/fsync.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2007-07-21 13:37:18 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-22 02:49:14 +0200
commit28de7948a896763bc97ccd416bba5b9422158350 (patch)
treeabee128b137a6fa9fa4104b7bbc4ee409467c38f /fs/udf/fsync.c
parentx86_64: wbinvd macro fix (diff)
downloadlinux-28de7948a896763bc97ccd416bba5b9422158350.tar.xz
linux-28de7948a896763bc97ccd416bba5b9422158350.zip
UDF: coding style conversion - lindent fixups
This patch fixes up sources after conversion by Lindent. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Cc: Jan Kara <jack@ucw.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/udf/fsync.c')
-rw-r--r--fs/udf/fsync.c2
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);
int udf_fsync_file(struct file *file, struct dentry *dentry, int datasync)
{
struct inode *inode = dentry->d_inode;
+
return udf_fsync_inode(inode, datasync);
}
@@ -46,5 +47,6 @@ static int udf_fsync_inode(struct inode *inode, int datasync)
return err;
err |= udf_sync_inode(inode);
+
return err ? -EIO : 0;
}