diff mbox

ubifs: fix a typo in comment of ioctl2ubifs & ubifs2ioctl

Message ID 1492150566-3158-1-git-send-email-rockdotlee@gmail.com
State Accepted
Delegated to: Richard Weinberger
Headers show

Commit Message

Rock Lee April 14, 2017, 6:16 a.m. UTC
Change 'convert' to 'converts'
Change 'UBIFS' to 'UBIFS inode flags'

Signed-off-by: Rock Lee <rockdotlee@gmail.com>
---
 fs/ubifs/ioctl.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Rock Lee April 21, 2017, 6:07 a.m. UTC | #1
Hi:
Does UBIFS do not accept typo fix any more, or did I miss something?

On Fri, Apr 14, 2017 at 2:16 PM, Rock Lee <rockdotlee@gmail.com> wrote:
> Change 'convert' to 'converts'
> Change 'UBIFS' to 'UBIFS inode flags'
>
> Signed-off-by: Rock Lee <rockdotlee@gmail.com>
> ---
>  fs/ubifs/ioctl.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/fs/ubifs/ioctl.c b/fs/ubifs/ioctl.c
> index da519ba..79ae003 100644
> --- a/fs/ubifs/ioctl.c
> +++ b/fs/ubifs/ioctl.c
> @@ -53,7 +53,7 @@ void ubifs_set_inode_flags(struct inode *inode)
>   * ioctl2ubifs - convert ioctl inode flags to UBIFS inode flags.
>   * @ioctl_flags: flags to convert
>   *
> - * This function convert ioctl flags (@FS_COMPR_FL, etc) to UBIFS inode flags
> + * This function converts ioctl flags (@FS_COMPR_FL, etc) to UBIFS inode flags
>   * (@UBIFS_COMPR_FL, etc).
>   */
>  static int ioctl2ubifs(int ioctl_flags)
> @@ -78,8 +78,8 @@ static int ioctl2ubifs(int ioctl_flags)
>   * ubifs2ioctl - convert UBIFS inode flags to ioctl inode flags.
>   * @ubifs_flags: flags to convert
>   *
> - * This function convert UBIFS (@UBIFS_COMPR_FL, etc) to ioctl flags
> - * (@FS_COMPR_FL, etc).
> + * This function converts UBIFS inode flags (@UBIFS_COMPR_FL, etc) to ioctl
> + * flags (@FS_COMPR_FL, etc).
>   */
>  static int ubifs2ioctl(int ubifs_flags)
>  {
> --
> 1.9.1
>
diff mbox

Patch

diff --git a/fs/ubifs/ioctl.c b/fs/ubifs/ioctl.c
index da519ba..79ae003 100644
--- a/fs/ubifs/ioctl.c
+++ b/fs/ubifs/ioctl.c
@@ -53,7 +53,7 @@  void ubifs_set_inode_flags(struct inode *inode)
  * ioctl2ubifs - convert ioctl inode flags to UBIFS inode flags.
  * @ioctl_flags: flags to convert
  *
- * This function convert ioctl flags (@FS_COMPR_FL, etc) to UBIFS inode flags
+ * This function converts ioctl flags (@FS_COMPR_FL, etc) to UBIFS inode flags
  * (@UBIFS_COMPR_FL, etc).
  */
 static int ioctl2ubifs(int ioctl_flags)
@@ -78,8 +78,8 @@  static int ioctl2ubifs(int ioctl_flags)
  * ubifs2ioctl - convert UBIFS inode flags to ioctl inode flags.
  * @ubifs_flags: flags to convert
  *
- * This function convert UBIFS (@UBIFS_COMPR_FL, etc) to ioctl flags
- * (@FS_COMPR_FL, etc).
+ * This function converts UBIFS inode flags (@UBIFS_COMPR_FL, etc) to ioctl
+ * flags (@FS_COMPR_FL, etc).
  */
 static int ubifs2ioctl(int ubifs_flags)
 {