diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-07-24 13:22:16 +0300 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2017-07-29 16:01:02 +0300 |
commit | 80aafd50b6a4fa6b6bba4b451b553d5d221f59ff (patch) | |
tree | 573334b6917db9e00ecf9602b2f065cda75d70b8 /include | |
parent | 3acdfd280fe7d807237f2cb7a09d6f8f7f1b484f (diff) | |
download | linux-80aafd50b6a4fa6b6bba4b451b553d5d221f59ff.tar.xz |
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.h | 5 | ||||
-rw-r--r-- | include/linux/fs.h | 2 |
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 7b5d6816542b..21e7df1ad613 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2571,8 +2571,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) { |