diff mbox

Btrfs: small fix the commment for the action flags in delayed-ref.h

Message ID 505B3117.9040603@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Wang Sheng-Hui Sept. 20, 2012, 3:07 p.m. UTC
The action has been merged into struct btrfs_delayed_ref_node,
and no struct btrfs_delayed_ref is available now.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
---
 fs/btrfs/delayed-ref.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Liu Bo Sept. 20, 2012, 3:12 p.m. UTC | #1
On 09/20/2012 11:07 PM, Wang Sheng-Hui wrote:
> The action has been merged into struct btrfs_delayed_ref_node,
> and no struct btrfs_delayed_ref is available now.
> 

You can consider sending this kind of typo fix patch to trivial list instead.

thanks,
liubo

> Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
> ---
>  fs/btrfs/delayed-ref.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/fs/btrfs/delayed-ref.h b/fs/btrfs/delayed-ref.h
> index ab53005..c9d7036 100644
> --- a/fs/btrfs/delayed-ref.h
> +++ b/fs/btrfs/delayed-ref.h
> @@ -18,7 +18,7 @@
>  #ifndef __DELAYED_REF__
>  #define __DELAYED_REF__
>  
> -/* these are the possible values of struct btrfs_delayed_ref->action */
> +/* these are the possible values of struct btrfs_delayed_ref_node->action */
>  #define BTRFS_ADD_DELAYED_REF    1 /* add one backref to the tree */
>  #define BTRFS_DROP_DELAYED_REF   2 /* delete one backref from the tree */
>  #define BTRFS_ADD_DELAYED_EXTENT 3 /* record a full extent allocation */
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/btrfs/delayed-ref.h b/fs/btrfs/delayed-ref.h
index ab53005..c9d7036 100644
--- a/fs/btrfs/delayed-ref.h
+++ b/fs/btrfs/delayed-ref.h
@@ -18,7 +18,7 @@ 
 #ifndef __DELAYED_REF__
 #define __DELAYED_REF__
 
-/* these are the possible values of struct btrfs_delayed_ref->action */
+/* these are the possible values of struct btrfs_delayed_ref_node->action */
 #define BTRFS_ADD_DELAYED_REF    1 /* add one backref to the tree */
 #define BTRFS_DROP_DELAYED_REF   2 /* delete one backref from the tree */
 #define BTRFS_ADD_DELAYED_EXTENT 3 /* record a full extent allocation */