]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commitdiff
fscache: rectify minor kernel-doc issues
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Thu, 4 Feb 2021 07:56:24 +0000 (08:56 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 5 Feb 2021 14:43:34 +0000 (14:43 +0000)
The command './scripts/kernel-doc -none include/linux/fscache.h' reports
some minor mismatches of the kernel-doc and function signature, which are
easily resolved.

Rectify the kernel-doc, such that no issues remain for fscache.h.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
include/linux/fscache.h

index 3f177faa0ac290b3cafc11e6db75ba98bf5b56df..7e1f12e52bafd112ce5846697a71c49074634624 100644 (file)
@@ -418,7 +418,7 @@ int fscache_pin_cookie(struct fscache_cookie *cookie)
 }
 
 /**
- * fscache_pin_cookie - Unpin a data-storage cache object in its cache
+ * fscache_unpin_cookie - Unpin a data-storage cache object in its cache
  * @cookie: The cookie representing the cache object
  *
  * Permit data-storage cache objects to be unpinned from the cache.
@@ -490,7 +490,7 @@ void fscache_wait_on_invalidate(struct fscache_cookie *cookie)
 /**
  * fscache_reserve_space - Reserve data space for a cached object
  * @cookie: The cookie representing the cache object
- * @i_size: The amount of space to be reserved
+ * @size: The amount of space to be reserved
  *
  * Reserve an amount of space in the cache for the cache object attached to a
  * cookie so that a write to that object within the space can always be