aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ubifs/io.c')
-rw-r--r--fs/ubifs/io.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/fs/ubifs/io.c b/fs/ubifs/io.c
index 9228950a658f..16d4065da7d6 100644
--- a/fs/ubifs/io.c
+++ b/fs/ubifs/io.c
@@ -109,7 +109,7 @@ int ubifs_leb_read(const struct ubifs_info *c, int lnum, void *buf, int offs,
109 if (err && (err != -EBADMSG || even_ebadmsg)) { 109 if (err && (err != -EBADMSG || even_ebadmsg)) {
110 ubifs_err("reading %d bytes from LEB %d:%d failed, error %d", 110 ubifs_err("reading %d bytes from LEB %d:%d failed, error %d",
111 len, lnum, offs, err); 111 len, lnum, offs, err);
112 dbg_dump_stack(); 112 dump_stack();
113 } 113 }
114 return err; 114 return err;
115} 115}
@@ -130,7 +130,7 @@ int ubifs_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs,
130 ubifs_err("writing %d bytes to LEB %d:%d failed, error %d", 130 ubifs_err("writing %d bytes to LEB %d:%d failed, error %d",
131 len, lnum, offs, err); 131 len, lnum, offs, err);
132 ubifs_ro_mode(c, err); 132 ubifs_ro_mode(c, err);
133 dbg_dump_stack(); 133 dump_stack();
134 } 134 }
135 return err; 135 return err;
136} 136}
@@ -151,7 +151,7 @@ int ubifs_leb_change(struct ubifs_info *c, int lnum, const void *buf, int len,
151 ubifs_err("changing %d bytes in LEB %d failed, error %d", 151 ubifs_err("changing %d bytes in LEB %d failed, error %d",
152 len, lnum, err); 152 len, lnum, err);
153 ubifs_ro_mode(c, err); 153 ubifs_ro_mode(c, err);
154 dbg_dump_stack(); 154 dump_stack();
155 } 155 }
156 return err; 156 return err;
157} 157}
@@ -170,7 +170,7 @@ int ubifs_leb_unmap(struct ubifs_info *c, int lnum)
170 if (err) { 170 if (err) {
171 ubifs_err("unmap LEB %d failed, error %d", lnum, err); 171 ubifs_err("unmap LEB %d failed, error %d", lnum, err);
172 ubifs_ro_mode(c, err); 172 ubifs_ro_mode(c, err);
173 dbg_dump_stack(); 173 dump_stack();
174 } 174 }
175 return err; 175 return err;
176} 176}
@@ -189,7 +189,7 @@ int ubifs_leb_map(struct ubifs_info *c, int lnum, int dtype)
189 if (err) { 189 if (err) {
190 ubifs_err("mapping LEB %d failed, error %d", lnum, err); 190 ubifs_err("mapping LEB %d failed, error %d", lnum, err);
191 ubifs_ro_mode(c, err); 191 ubifs_ro_mode(c, err);
192 dbg_dump_stack(); 192 dump_stack();
193 } 193 }
194 return err; 194 return err;
195} 195}
@@ -202,7 +202,7 @@ int ubifs_is_mapped(const struct ubifs_info *c, int lnum)
202 if (err < 0) { 202 if (err < 0) {
203 ubifs_err("ubi_is_mapped failed for LEB %d, error %d", 203 ubifs_err("ubi_is_mapped failed for LEB %d, error %d",
204 lnum, err); 204 lnum, err);
205 dbg_dump_stack(); 205 dump_stack();
206 } 206 }
207 return err; 207 return err;
208} 208}
@@ -295,7 +295,7 @@ out:
295 if (!quiet) { 295 if (!quiet) {
296 ubifs_err("bad node at LEB %d:%d", lnum, offs); 296 ubifs_err("bad node at LEB %d:%d", lnum, offs);
297 dbg_dump_node(c, buf); 297 dbg_dump_node(c, buf);
298 dbg_dump_stack(); 298 dump_stack();
299 } 299 }
300 return err; 300 return err;
301} 301}
@@ -842,7 +842,7 @@ out:
842 ubifs_err("cannot write %d bytes to LEB %d:%d, error %d", 842 ubifs_err("cannot write %d bytes to LEB %d:%d, error %d",
843 len, wbuf->lnum, wbuf->offs, err); 843 len, wbuf->lnum, wbuf->offs, err);
844 dbg_dump_node(c, buf); 844 dbg_dump_node(c, buf);
845 dbg_dump_stack(); 845 dump_stack();
846 dbg_dump_leb(c, wbuf->lnum); 846 dbg_dump_leb(c, wbuf->lnum);
847 return err; 847 return err;
848} 848}
@@ -961,7 +961,7 @@ int ubifs_read_node_wbuf(struct ubifs_wbuf *wbuf, void *buf, int type, int len,
961out: 961out:
962 ubifs_err("bad node at LEB %d:%d", lnum, offs); 962 ubifs_err("bad node at LEB %d:%d", lnum, offs);
963 dbg_dump_node(c, buf); 963 dbg_dump_node(c, buf);
964 dbg_dump_stack(); 964 dump_stack();
965 return -EINVAL; 965 return -EINVAL;
966} 966}
967 967
@@ -1018,7 +1018,7 @@ out:
1018 ubifs_err("bad node at LEB %d:%d, LEB mapping status %d", lnum, offs, 1018 ubifs_err("bad node at LEB %d:%d, LEB mapping status %d", lnum, offs,
1019 ubi_is_mapped(c->ubi, lnum)); 1019 ubi_is_mapped(c->ubi, lnum));
1020 dbg_dump_node(c, buf); 1020 dbg_dump_node(c, buf);
1021 dbg_dump_stack(); 1021 dump_stack();
1022 return -EINVAL; 1022 return -EINVAL;
1023} 1023}
1024 1024