udf: remove double err declaration in udf_file_write_iter()
authorFabian Frederick <fabf@skynet.be>
Fri, 15 May 2015 21:26:28 +0000 (23:26 +0200)
committerJan Kara <jack@suse.cz>
Mon, 18 May 2015 09:23:09 +0000 (11:23 +0200)
commit942d702e719607da308c00af1b63804bf88cb030
treeb11938035c819c0360d83a72adbd862978606e65
parent92acca45428f28c0b387f85b52b230d526dd0ecc
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>
fs/udf/file.c