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:
78c3eb3
)
udf: return correct errno for udf_update_inode()
author
Changwoo Min
<changwoo.m@gmail.com>
Sun, 22 Mar 2015 23:17:49 +0000
(19:17 -0400)
committer
Jan Kara
<jack@suse.cz>
Wed, 1 Apr 2015 10:46:46 +0000
(12:46 +0200)
Instead of -ENOMEM, properly return -EIO udf_update_inode()
error, similar/consistent to the rest of filesystems.
Signed-off-by: Changwoo Min <changwoo.m@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/udf/inode.c
b/fs/udf/inode.c
index 0001ece68f45a740110faabac36e1f47beba2540..52577a8e41790558527e4df1a749b2f3a0dc49c7 100644
(file)
--- a/
fs/udf/inode.c
+++ b/
fs/udf/inode.c
@@
-1636,7
+1636,7
@@
static int udf_update_inode(struct inode *inode, int do_sync)
udf_get_lb_pblock(inode->i_sb, &iinfo->i_location, 0));
if (!bh) {
udf_debug("getblk failure\n");
- return -E
NOMEM
;
+ return -E
IO
;
}
lock_buffer(bh);