All of lore.kernel.org
 help / color / mirror / Atom feed
From: Edward Shishkin <edward.shishkin@gmail.com>
To: Ivan Shapovalov <intelfx@intelfx.name>, reiserfs-devel@vger.kernel.org
Subject: Re: [PATCH] reiser4: return -ENOTTY from unsupported ioctls.
Date: Mon, 03 Oct 2016 16:30:00 +0200	[thread overview]
Message-ID: <57F26B68.6090100@gmail.com> (raw)
In-Reply-To: <20160930064905.20896-1-intelfx@intelfx.name>

OK

On 09/30/2016 08:49 AM, Ivan Shapovalov wrote:
> Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name>
> ---
>   plugin/file/cryptcompress.c | 2 +-
>   plugin/file/file.c          | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/plugin/file/cryptcompress.c b/plugin/file/cryptcompress.c
> index 59d8df8..67c48d7 100644
> --- a/plugin/file/cryptcompress.c
> +++ b/plugin/file/cryptcompress.c
> @@ -3544,7 +3544,7 @@ int writepages_cryptcompress(struct address_space *mapping,
>   int ioctl_cryptcompress(struct file *filp, unsigned int cmd,
>   			unsigned long arg)
>   {
> -	return RETERR(-ENOSYS);
> +	return RETERR(-ENOTTY);
>   }
>   
>   /* plugin->mmap */
> diff --git a/plugin/file/file.c b/plugin/file/file.c
> index 064f26e..9d08481 100644
> --- a/plugin/file/file.c
> +++ b/plugin/file/file.c
> @@ -2446,7 +2446,7 @@ int ioctl_unix_file(struct file *filp, unsigned int cmd,
>   		break;
>   
>   	default:
> -		result = RETERR(-ENOSYS);
> +		result = RETERR(-ENOTTY);
>   		break;
>   	}
>   	reiser4_exit_context(ctx);


  reply	other threads:[~2016-10-03 14:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-30  6:49 [PATCH] reiser4: return -ENOTTY from unsupported ioctls Ivan Shapovalov
2016-10-03 14:30 ` Edward Shishkin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-02-13  0:37 Ivan Shapovalov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57F26B68.6090100@gmail.com \
    --to=edward.shishkin@gmail.com \
    --cc=intelfx@intelfx.name \
    --cc=reiserfs-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.