[2/2] ocfs2: correct annotation from "l_next_rec" to "l_next_free_rec"
diff mbox series

Message ID 5e76c953-3479-1280-023c-ad05e4c75608@huawei.com
State New
Headers show
Series
  • [1/2] ocfs2: there is no need to log twice in several functions
Related show

Commit Message

Wangyan Feb. 22, 2020, 1:54 a.m. UTC
Correct annotation from "l_next_rec" to "l_next_free_rec"

Signed-off-by: Yan Wang <wangyan122@huawei.com>
Reviewed-by: Jun Piao <piaojun@huawei.com>
---
 fs/ocfs2/alloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Joseph Qi Feb. 24, 2020, 3 a.m. UTC | #1
On 2020/2/22 09:54, wangyan wrote:
> Correct annotation from "l_next_rec" to "l_next_free_rec"
> 
> Signed-off-by: Yan Wang <wangyan122@huawei.com>
> Reviewed-by: Jun Piao <piaojun@huawei.com>

Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>
> ---
>  fs/ocfs2/alloc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c
> index 1e3b06fa4785..65b3abbcce4e 100644
> --- a/fs/ocfs2/alloc.c
> +++ b/fs/ocfs2/alloc.c
> @@ -3941,7 +3941,7 @@ static void ocfs2_insert_at_leaf(struct ocfs2_extent_tree *et,
>  	 * above.
>  	 *
>  	 * This leaf needs to have space, either by the empty 1st
> -	 * extent record, or by virtue of an l_next_rec < l_count.
> +	 * extent record, or by virtue of an l_next_free_rec < l_count.
>  	 */
>  	ocfs2_rotate_leaf(el, insert_rec);
>  }
>

Patch
diff mbox series

diff --git a/fs/ocfs2/alloc.c b/fs/ocfs2/alloc.c
index 1e3b06fa4785..65b3abbcce4e 100644
--- a/fs/ocfs2/alloc.c
+++ b/fs/ocfs2/alloc.c
@@ -3941,7 +3941,7 @@  static void ocfs2_insert_at_leaf(struct ocfs2_extent_tree *et,
 	 * above.
 	 *
 	 * This leaf needs to have space, either by the empty 1st
-	 * extent record, or by virtue of an l_next_rec < l_count.
+	 * extent record, or by virtue of an l_next_free_rec < l_count.
 	 */
 	ocfs2_rotate_leaf(el, insert_rec);
 }