aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2017-07-22 09:27:44 -0400
committerJeff Layton <jlayton@redhat.com>2017-07-22 11:38:22 -0400
commit18230cda09f6821b855eaac0e129df5bd0ad3abe (patch)
treee6686d2af71e323e44de4b32189927c5a8785846 /include
parentc00e36cdbb14b91967ec5e5823c20fd2c153def1 (diff)
Documentation: add some docs for errseq_t
...and fix up a few comments in the code. Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/errseq.h5
-rw-r--r--include/linux/fs.h2
2 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/errseq.h b/include/linux/errseq.h
index 784f0860527b..f746bd8fe4d0 100644
--- a/include/linux/errseq.h
+++ b/include/linux/errseq.h
@@ -1,8 +1,9 @@
+/*
+ * See Documentation/errseq.rst and lib/errseq.c
+ */
#ifndef _LINUX_ERRSEQ_H
#define _LINUX_ERRSEQ_H
-/* See lib/errseq.c for more info */
-
typedef u32 errseq_t;
errseq_t errseq_set(errseq_t *eseq, int err);
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 46be6fa7ee43..3646f3e2c591 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2572,8 +2572,6 @@ extern int __must_check file_write_and_wait_range(struct file *file,
* When a writeback error occurs, most filesystems will want to call
* filemap_set_wb_err to record the error in the mapping so that it will be
* automatically reported whenever fsync is called on the file.
- *
- * FIXME: mention FS_* flag here?
*/
static inline void filemap_set_wb_err(struct address_space *mapping, int err)
{