Skip to contentSkip to conversation

DocBook: fix some kernel-doc comments in fs and block

PATCH New Martin Waitz 1 participant 1 message Jan 21, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 DocBook: fix some kernel-doc comments in fs and block

Update some parameter descriptions to actually match the code.

---

 block/ll_rw_blk.c |    2 ++
 fs/bio.c          |    1 +
 fs/inode.c        |    2 +-
 fs/namei.c        |    2 ++
 4 files changed, 6 insertions(+), 1 deletions(-)

b356c4996e5a8df0f841d0f8bc08e80a26aa68d8

block/ll_rw_blk.c +2 -0
index 8e27d0a..d6b9640 100644
@@ -304,6 +304,7 @@ static inline void rq_init(request_queue
  * blk_queue_ordered - does this queue support ordered writes
  * @q:        the request queue
  * @ordered:  one of QUEUE_ORDERED_*
+ * @prepare_flush_fn: the flush prepare function
  *
  * Description:
  *   For journalled file systems, doing ordered writes on a commit
@@ -2632,6 +2633,7 @@ EXPORT_SYMBOL(blk_put_request);
 /**
  * blk_end_sync_rq - executes a completion event on a request
  * @rq: request to complete
+ * @error: not used
  */
 void blk_end_sync_rq(struct request *rq, int error)
 {
fs/bio.c +1 -0
index bbc442b..c7b13b9 100644
@@ -411,6 +411,7 @@ static int __bio_add_page(request_queue_
 
 /**
  *	bio_add_pc_page	-	attempt to add page to bio
+ *	@q: the request queue to use
  *	@bio: destination bio
  *	@page: page to add
  *	@len: vec entry length
fs/inode.c +1 -1
index 108138d..d0be615 100644
@@ -1179,7 +1179,7 @@ EXPORT_SYMBOL(bmap);
 /**
  *	touch_atime	-	update the access time
  *	@mnt: mount the inode is accessed on
- *	@inode: inode accessed
+ *	@dentry: dentry accessed
  *
  *	Update the accessed time on an inode and mark it for writeback.
  *	This function automatically handles read only file systems and media,
fs/namei.c +2 -0
index 4acdac0..7ac9fb4 100644
@@ -1161,6 +1161,7 @@ static int __path_lookup_intent_open(int
 
 /**
  * path_lookup_open - lookup a file path with open intent
+ * @dfd: the directory to use as base, or AT_FDCWD
  * @name: pointer to file name
  * @lookup_flags: lookup intent flags
  * @nd: pointer to nameidata
@@ -1175,6 +1176,7 @@ int path_lookup_open(int dfd, const char
 
 /**
  * path_lookup_create - lookup a file path with open + create intent
+ * @dfd: the directory to use as base, or AT_FDCWD
  * @name: pointer to file name
  * @lookup_flags: lookup intent flags
  * @nd: pointer to nameidata
Signature · 4 lines
0.99.9.GIT

-- 
Martin Waitz