All of
 help / color / mirror / Atom feed
From: Theodore Ts'o <>
To: Eric Biggers <>
	Jaegeuk Kim <>,
	Eric Biggers <>
Subject: Re: fscrypt: remove unnecessary checks for NULL operations
Date: Sun, 30 Apr 2017 02:16:02 -0400	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Tue, Apr 04, 2017 at 02:39:41PM -0700, Eric Biggers wrote:
> From: Eric Biggers <>
> The functions in fs/crypto/*.c are only called by filesystems configured
> with encryption support.  Since the ->get_context(), ->set_context(),
> and ->empty_dir() operations are always provided in that case (and must
> be, otherwise there would be no way to get/set encryption policies, or
> in the case of ->get_context() even access encrypted files at all),
> there is no need to check for these operations being NULL and we can
> remove these unneeded checks.
> Signed-off-by: Eric Biggers <>
> Reviewed-by: Richard Weinberger <>

Thanks, applied.

						- Ted

      parent reply	other threads:[~2017-04-30  6:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-04 21:39 [PATCH] " Eric Biggers
2017-04-06 19:24 ` Richard Weinberger
2017-04-30  6:16 ` Theodore Ts'o [this message]

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:

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

  git send-email \ \ \ \ \ \ \ \
    --subject='Re: fscrypt: remove unnecessary checks for NULL operations' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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.