diff mbox

ubifs: update comment for ubifs_errc

Message ID 20160725114446.GA8083@makrotopia.org
State Accepted
Delegated to: Richard Weinberger
Headers show

Commit Message

Daniel Golle July 25, 2016, 11:44 a.m. UTC
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
---
 fs/ubifs/ubifs.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Richard Weinberger July 25, 2016, 8:43 p.m. UTC | #1
Daniel,

Am 25.07.2016 um 13:44 schrieb Daniel Golle:
> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
> ---
>  fs/ubifs/ubifs.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
> index ddf9f6b9..4617d45 100644
> --- a/fs/ubifs/ubifs.h
> +++ b/fs/ubifs/ubifs.h
> @@ -1783,8 +1783,8 @@ void ubifs_err(const struct ubifs_info *c, const char *fmt, ...);
>  __printf(2, 3)
>  void ubifs_warn(const struct ubifs_info *c, const char *fmt, ...);
>  /*
> - * A variant of 'ubifs_err()' which takes the UBIFS file-sytem description
> - * object as an argument.
> + * A conditional variant of 'ubifs_err()' which doesn't output anything
> + * if probing (ie. MS_SILENT set).

Looks good. :-)

Thanks for improving this,
//richard
diff mbox

Patch

diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index ddf9f6b9..4617d45 100644
--- a/fs/ubifs/ubifs.h
+++ b/fs/ubifs/ubifs.h
@@ -1783,8 +1783,8 @@  void ubifs_err(const struct ubifs_info *c, const char *fmt, ...);
 __printf(2, 3)
 void ubifs_warn(const struct ubifs_info *c, const char *fmt, ...);
 /*
- * A variant of 'ubifs_err()' which takes the UBIFS file-sytem description
- * object as an argument.
+ * A conditional variant of 'ubifs_err()' which doesn't output anything
+ * if probing (ie. MS_SILENT set).
  */
 #define ubifs_errc(c, fmt, ...)						\
 do {									\