ubifs: fix a typo in comment of ioctl2ubifs & ubifs2ioctl

Submitted by Rock Lee on April 14, 2017, 6:16 a.m.

Details

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

Commit Message

Rock Lee April 14, 2017, 6:16 a.m.
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.
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
>

Patch hide | download patch | download mbox

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)
 {