diff options
author | Theodore Ts'o <tytso@mit.edu> | 2019-06-19 16:30:03 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-06-19 16:30:03 -0400 |
commit | c60990b361cc0a08e7b442a8191d89e9304c2d62 (patch) | |
tree | 5620813b90be028c3cf1709dcab5269ffe447f74 | |
parent | 7ddf79a103958ff7e529a3bc0c5b3d1e9cbc22c7 (diff) |
ext4: clean up kerneldoc warnigns when building with W=1
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r-- | fs/ext4/balloc.c | 4 | ||||
-rw-r--r-- | fs/ext4/dir.c | 3 | ||||
-rw-r--r-- | fs/ext4/extents.c | 4 | ||||
-rw-r--r-- | fs/ext4/indirect.c | 22 | ||||
-rw-r--r-- | fs/ext4/mballoc.c | 5 | ||||
-rw-r--r-- | fs/ext4/move_extent.c | 12 |
6 files changed, 24 insertions, 26 deletions
diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c index e5d6ee61ff48..0b202e00d93f 100644 --- a/fs/ext4/balloc.c +++ b/fs/ext4/balloc.c | |||
@@ -603,9 +603,9 @@ int ext4_claim_free_clusters(struct ext4_sb_info *sbi, | |||
603 | } | 603 | } |
604 | 604 | ||
605 | /** | 605 | /** |
606 | * ext4_should_retry_alloc() | 606 | * ext4_should_retry_alloc() - check if a block allocation should be retried |
607 | * @sb: super block | 607 | * @sb: super block |
608 | * @retries number of attemps has been made | 608 | * @retries: number of attemps has been made |
609 | * | 609 | * |
610 | * ext4_should_retry_alloc() is called when ENOSPC is returned, and if | 610 | * ext4_should_retry_alloc() is called when ENOSPC is returned, and if |
611 | * it is profitable to retry the operation, this function will wait | 611 | * it is profitable to retry the operation, this function will wait |
diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c index c7843b149a1e..1f7784bee42a 100644 --- a/fs/ext4/dir.c +++ b/fs/ext4/dir.c | |||
@@ -33,6 +33,9 @@ | |||
33 | static int ext4_dx_readdir(struct file *, struct dir_context *); | 33 | static int ext4_dx_readdir(struct file *, struct dir_context *); |
34 | 34 | ||
35 | /** | 35 | /** |
36 | * is_dx_dir() - check if a directory is using htree indexing | ||
37 | * @inode: directory inode | ||
38 | * | ||
36 | * Check if the given dir-inode refers to an htree-indexed directory | 39 | * Check if the given dir-inode refers to an htree-indexed directory |
37 | * (or a directory which could potentially get converted to use htree | 40 | * (or a directory which could potentially get converted to use htree |
38 | * indexing). | 41 | * indexing). |
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index d40ed940001e..92266a2da7d6 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c | |||
@@ -5676,8 +5676,8 @@ out_mutex: | |||
5676 | } | 5676 | } |
5677 | 5677 | ||
5678 | /** | 5678 | /** |
5679 | * ext4_swap_extents - Swap extents between two inodes | 5679 | * ext4_swap_extents() - Swap extents between two inodes |
5680 | * | 5680 | * @handle: handle for this transaction |
5681 | * @inode1: First inode | 5681 | * @inode1: First inode |
5682 | * @inode2: Second inode | 5682 | * @inode2: Second inode |
5683 | * @lblk1: Start block for first inode | 5683 | * @lblk1: Start block for first inode |
diff --git a/fs/ext4/indirect.c b/fs/ext4/indirect.c index 2024d3fa5504..36699a131168 100644 --- a/fs/ext4/indirect.c +++ b/fs/ext4/indirect.c | |||
@@ -294,14 +294,12 @@ static int ext4_blks_to_allocate(Indirect *branch, int k, unsigned int blks, | |||
294 | } | 294 | } |
295 | 295 | ||
296 | /** | 296 | /** |
297 | * ext4_alloc_branch - allocate and set up a chain of blocks. | 297 | * ext4_alloc_branch() - allocate and set up a chain of blocks |
298 | * @handle: handle for this transaction | 298 | * @handle: handle for this transaction |
299 | * @inode: owner | 299 | * @ar: structure describing the allocation request |
300 | * @indirect_blks: number of allocated indirect blocks | 300 | * @indirect_blks: number of allocated indirect blocks |
301 | * @blks: number of allocated direct blocks | 301 | * @offsets: offsets (in the blocks) to store the pointers to next. |
302 | * @goal: preferred place for allocation | 302 | * @branch: place to store the chain in. |
303 | * @offsets: offsets (in the blocks) to store the pointers to next. | ||
304 | * @branch: place to store the chain in. | ||
305 | * | 303 | * |
306 | * This function allocates blocks, zeroes out all but the last one, | 304 | * This function allocates blocks, zeroes out all but the last one, |
307 | * links them into chain and (if we are synchronous) writes them to disk. | 305 | * links them into chain and (if we are synchronous) writes them to disk. |
@@ -396,15 +394,11 @@ failed: | |||
396 | } | 394 | } |
397 | 395 | ||
398 | /** | 396 | /** |
399 | * ext4_splice_branch - splice the allocated branch onto inode. | 397 | * ext4_splice_branch() - splice the allocated branch onto inode. |
400 | * @handle: handle for this transaction | 398 | * @handle: handle for this transaction |
401 | * @inode: owner | 399 | * @ar: structure describing the allocation request |
402 | * @block: (logical) number of block we are adding | ||
403 | * @chain: chain of indirect blocks (with a missing link - see | ||
404 | * ext4_alloc_branch) | ||
405 | * @where: location of missing link | 400 | * @where: location of missing link |
406 | * @num: number of indirect blocks we are adding | 401 | * @num: number of indirect blocks we are adding |
407 | * @blks: number of direct blocks we are adding | ||
408 | * | 402 | * |
409 | * This function fills the missing link and does all housekeeping needed in | 403 | * This function fills the missing link and does all housekeeping needed in |
410 | * inode (->i_blocks, etc.). In case of success we end up with the full | 404 | * inode (->i_blocks, etc.). In case of success we end up with the full |
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c index 99ba720dbb7a..a3e2767bdf2f 100644 --- a/fs/ext4/mballoc.c +++ b/fs/ext4/mballoc.c | |||
@@ -4696,8 +4696,9 @@ ext4_mb_free_metadata(handle_t *handle, struct ext4_buddy *e4b, | |||
4696 | * ext4_free_blocks() -- Free given blocks and update quota | 4696 | * ext4_free_blocks() -- Free given blocks and update quota |
4697 | * @handle: handle for this transaction | 4697 | * @handle: handle for this transaction |
4698 | * @inode: inode | 4698 | * @inode: inode |
4699 | * @block: start physical block to free | 4699 | * @bh: optional buffer of the block to be freed |
4700 | * @count: number of blocks to count | 4700 | * @block: starting physical block to be freed |
4701 | * @count: number of blocks to be freed | ||
4701 | * @flags: flags used by ext4_free_blocks | 4702 | * @flags: flags used by ext4_free_blocks |
4702 | */ | 4703 | */ |
4703 | void ext4_free_blocks(handle_t *handle, struct inode *inode, | 4704 | void ext4_free_blocks(handle_t *handle, struct inode *inode, |
diff --git a/fs/ext4/move_extent.c b/fs/ext4/move_extent.c index 1083a9f3f16a..3ec9627c9713 100644 --- a/fs/ext4/move_extent.c +++ b/fs/ext4/move_extent.c | |||
@@ -13,11 +13,10 @@ | |||
13 | #include "ext4_extents.h" | 13 | #include "ext4_extents.h" |
14 | 14 | ||
15 | /** | 15 | /** |
16 | * get_ext_path - Find an extent path for designated logical block number. | 16 | * get_ext_path() - Find an extent path for designated logical block number. |
17 | * | 17 | * @inode: inode to be searched |
18 | * @inode: an inode which is searched | ||
19 | * @lblock: logical block number to find an extent path | 18 | * @lblock: logical block number to find an extent path |
20 | * @path: pointer to an extent path pointer (for output) | 19 | * @ppath: pointer to an extent path pointer (for output) |
21 | * | 20 | * |
22 | * ext4_find_extent wrapper. Return 0 on success, or a negative error value | 21 | * ext4_find_extent wrapper. Return 0 on success, or a negative error value |
23 | * on failure. | 22 | * on failure. |
@@ -42,8 +41,9 @@ get_ext_path(struct inode *inode, ext4_lblk_t lblock, | |||
42 | } | 41 | } |
43 | 42 | ||
44 | /** | 43 | /** |
45 | * ext4_double_down_write_data_sem - Acquire two inodes' write lock | 44 | * ext4_double_down_write_data_sem() - write lock two inodes's i_data_sem |
46 | * of i_data_sem | 45 | * @first: inode to be locked |
46 | * @second: inode to be locked | ||
47 | * | 47 | * |
48 | * Acquire write lock of i_data_sem of the two inodes | 48 | * Acquire write lock of i_data_sem of the two inodes |
49 | */ | 49 | */ |