projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78371a4
)
ext4: fixup kerndoc annotation of mpage_map_and_submit_extent()
author
Jan Kara
<
[email protected]
>
Wed, 16 Oct 2013 12:26:08 +0000
(08:26 -0400)
committer
Theodore Ts'o
<
[email protected]
>
Wed, 16 Oct 2013 12:26:08 +0000
(08:26 -0400)
Document give_up_on_write argument of mpage_map_and_submit_extent().
Signed-off-by: Jan Kara <
[email protected]
>
Signed-off-by: "Theodore Ts'o" <
[email protected]
>
fs/ext4/inode.c
patch
|
blob
|
history
diff --git
a/fs/ext4/inode.c
b/fs/ext4/inode.c
index e274e9c1171f9095829aff07224dfff650a85ed2..e7e5b3d8f002565150b7352a7e4ec8251211c854 100644
(file)
--- a/
fs/ext4/inode.c
+++ b/
fs/ext4/inode.c
@@
-2178,6
+2178,9
@@
static int mpage_map_one_extent(handle_t *handle, struct mpage_da_data *mpd)
*
* @handle - handle for journal operations
* @mpd - extent to map
+ * @give_up_on_write - we set this to true iff there is a fatal error and there
+ * is no hope of writing the data. The caller should discard
+ * dirty pages to avoid infinite loops.
*
* The function maps extent starting at mpd->lblk of length mpd->len. If it is
* delayed, blocks are allocated, if it is unwritten, we may need to convert