Skip to content

Commit 2122da2

Browse files
Fabian Fredericktorvalds
Fabian Frederick
authored andcommitted
fs/logfs/readwrite.c: kernel-doc warning fixes
s/-/:/ and fix variable names. Signed-off-by: Fabian Frederick <[email protected]> Cc: Joern Engel <[email protected]> Cc: Prasad Joshi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 1332429 commit 2122da2

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

fs/logfs/readwrite.c

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,11 +1019,11 @@ static int __logfs_is_valid_block(struct inode *inode, u64 bix, u64 ofs)
10191019
/**
10201020
* logfs_is_valid_block - check whether this block is still valid
10211021
*
1022-
* @sb - superblock
1023-
* @ofs - block physical offset
1024-
* @ino - block inode number
1025-
* @bix - block index
1026-
* @level - block level
1022+
* @sb: superblock
1023+
* @ofs: block physical offset
1024+
* @ino: block inode number
1025+
* @bix: block index
1026+
* @gc_level: block level
10271027
*
10281028
* Returns 0 if the block is invalid, 1 if it is valid and 2 if it will
10291029
* become invalid once the journal is written.
@@ -2226,10 +2226,9 @@ void btree_write_block(struct logfs_block *block)
22262226
*
22272227
* @inode: parent inode (ifile or directory)
22282228
* @buf: object to write (inode or dentry)
2229-
* @n: object size
2230-
* @_pos: object number (file position in blocks/objects)
2229+
* @count: object size
2230+
* @bix: block index
22312231
* @flags: write flags
2232-
* @lock: 0 if write lock is already taken, 1 otherwise
22332232
* @shadow_tree: shadow below this inode
22342233
*
22352234
* FIXME: All caller of this put a 200-300 byte variable on the stack,

0 commit comments

Comments
 (0)