Documentation: filesystem: Fix typo in fs/eventfd.c
authorMasanari Iida <standby24x7@gmail.com>
Tue, 22 Sep 2015 03:04:17 +0000 (12:04 +0900)
committerJiri Kosina <jkosina@suse.cz>
Tue, 8 Dec 2015 13:52:03 +0000 (14:52 +0100)
This patch fix typos found in Documentation/filesystems.xml,
DocBook/filesystems/API-eventfd-signal.html, and
DocBook/filesystems.aux.xml

These files are generated from comments within the source,
so I had to fix typos in fs/eventfd.c

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
fs/eventfd.c

index 8d0c0df018549b86b9759225c2aa2ef88a5728dc..ed70cf9fdc7b3aa4e3ae6295f6071aaf87501ca7 100644 (file)
@@ -45,10 +45,10 @@ struct eventfd_ctx {
  *
  * This function is supposed to be called by the kernel in paths that do not
  * allow sleeping. In this function we allow the counter to reach the ULLONG_MAX
- * value, and we signal this as overflow condition by returining a POLLERR
+ * value, and we signal this as overflow condition by returning a POLLERR
  * to poll(2).
  *
- * Returns the amount by which the counter was incrememnted.  This will be less
+ * Returns the amount by which the counter was incremented.  This will be less
  * than @n if the counter has overflowed.
  */
 __u64 eventfd_signal(struct eventfd_ctx *ctx, __u64 n)