2010-07-13 09:50:25

by Davidlohr Bueso

[permalink] [raw]
Subject: [PATCH RESEND reiserfs] trivial typo fix

Fix trivial typo in code comment (change adn for and), also change comment style for proper coding style.

Thanks,
Davidlohr

Signed-off-by: Davidlohr Bueso <[email protected]>
---
include/linux/reiserfs_fs.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/reiserfs_fs.h b/include/linux/reiserfs_fs.h
index 3b603f4..ba39416 100644
--- a/include/linux/reiserfs_fs.h
+++ b/include/linux/reiserfs_fs.h
@@ -360,7 +360,7 @@ int is_reiserfs_jr(struct reiserfs_super_block *rs);
/* the spot for the super in versions 3.5 - 3.5.10 (inclusive) */
#define REISERFS_OLD_DISK_OFFSET_IN_BYTES (8 * 1024)

-// reiserfs internal error code (used by search_by_key adn fix_nodes))
+/* reiserfs internal error code (used by search_by_key and fix_nodes)) */
#define CARRY_ON 0
#define REPEAT_SEARCH -1
#define IO_ERROR -2
--
1.7.0.4




2010-07-13 13:05:50

by Edward Shishkin

[permalink] [raw]
Subject: Re: [PATCH RESEND reiserfs] trivial typo fix

Davidlohr Bueso wrote:
> Fix trivial typo in code comment (change adn for and), also change comment style for proper coding style.
>
> Thanks,
> Davidlohr
>
> Signed-off-by: Davidlohr Bueso <[email protected]>
>

Acked-by: Edward Shishkin <[email protected]>

> ---
> include/linux/reiserfs_fs.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/linux/reiserfs_fs.h b/include/linux/reiserfs_fs.h
> index 3b603f4..ba39416 100644
> --- a/include/linux/reiserfs_fs.h
> +++ b/include/linux/reiserfs_fs.h
> @@ -360,7 +360,7 @@ int is_reiserfs_jr(struct reiserfs_super_block *rs);
> /* the spot for the super in versions 3.5 - 3.5.10 (inclusive) */
> #define REISERFS_OLD_DISK_OFFSET_IN_BYTES (8 * 1024)
>
> -// reiserfs internal error code (used by search_by_key adn fix_nodes))
> +/* reiserfs internal error code (used by search_by_key and fix_nodes)) */
> #define CARRY_ON 0
> #define REPEAT_SEARCH -1
> #define IO_ERROR -2
>