[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190416223800.GA4053@mit.edu>
Date: Tue, 16 Apr 2019 18:38:00 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: Eric Biggers <ebiggers@...nel.org>
Cc: linux-fscrypt@...r.kernel.org, linux-ext4@...r.kernel.org
Subject: Re: [PATCH] fscrypt: drop inode argument from fscrypt_get_ctx()
On Mon, Mar 18, 2019 at 10:23:33AM -0700, Eric Biggers wrote:
> From: Eric Biggers <ebiggers@...gle.com>
>
> The only reason the inode is being passed to fscrypt_get_ctx() is to
> verify that the encryption key is available. However, all callers
> already ensure this because if we get as far as trying to do I/O to an
> encrypted file without the key, there's already a bug.
>
> Therefore, remove this unnecessary argument.
>
> Signed-off-by: Eric Biggers <ebiggers@...gle.com>
Looks good, applied.
- Ted
Powered by blists - more mailing lists