projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92acca4
)
udf: remove double err declaration in udf_file_write_iter()
author
Fabian Frederick
<fabf@skynet.be>
Fri, 15 May 2015 21:26:28 +0000
(23:26 +0200)
committer
Jan Kara
<jack@suse.cz>
Mon, 18 May 2015 09:23:09 +0000
(11:23 +0200)
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
patch
|
blob
|
blame
|
history
diff --git
a/fs/udf/file.c
b/fs/udf/file.c
index 7a95b8fed302daa3321915f555ba70cd5fcfd9a4..bddf3d071daec536fe5a3e775b2e041e0df5a620 100644
(file)
--- 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)