[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160930055352.qhqvxpwino4yomdo@thunk.org>
Date: Fri, 30 Sep 2016 01:53:52 -0400
From: Theodore Ts'o <tytso@....edu>
To: Richard Weinberger <richard@....at>
Cc: adilger.kernel@...ger.ca, linux-kernel@...r.kernel.org,
linux-ext4@...r.kernel.org, david@...ma-star.at
Subject: Re: [PATCH] ext4: Check for encryption feature before
fscrypt_process_policy()
On Thu, Sep 22, 2016 at 08:50:54AM +0200, Richard Weinberger wrote:
> ...otherwise an user can enable encryption for certain files even
> when the filesystem is unable to support it.
> Such a case would be a filesystem created by mkfs.ext4's default
> settings, 1KiB block size. Ext4 supports encyption only when block size
> is equal to PAGE_SIZE.
> But this constraint is only checked when the encryption feature flag
> is set.
>
> Signed-off-by: Richard Weinberger <richard@....at>
Thanks, applied.
- Ted
Powered by blists - more mailing lists