diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-05-16 00:26:28 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2015-05-18 12:23:09 +0300 |
commit | 942d702e719607da308c00af1b63804bf88cb030 (patch) | |
tree | b11938035c819c0360d83a72adbd862978606e65 /fs/udf | |
parent | 92acca45428f28c0b387f85b52b230d526dd0ecc (diff) | |
download | linux-942d702e719607da308c00af1b63804bf88cb030.tar.xz |
udf: remove double err declaration in udf_file_write_iter()
Use first err declaration for generic_write_sync() return value.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf')
-rw-r--r-- | fs/udf/file.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/udf/file.c b/fs/udf/file.c index 7a95b8fed302..bddf3d071dae 100644 --- a/fs/udf/file.c +++ b/fs/udf/file.c @@ -152,8 +152,6 @@ out: mutex_unlock(&inode->i_mutex); if (retval > 0) { - ssize_t err; - mark_inode_dirty(inode); err = generic_write_sync(file, iocb->ki_pos - retval, retval); if (err < 0) |