Re: [f2fs-dev] [PATCH 2/9] f2fs: remove f2fs_dir_open()

2020-12-01 Thread Eric Biggers
On Thu, Nov 26, 2020 at 03:04:55PM +0800, Chao Yu wrote: > On 2020/11/25 8:23, Eric Biggers wrote: > > From: Eric Biggers > > > > Since encrypted directories can be opened without their encryption key > > being available, and each readdir tries to set up the key, trying to set > > readdir -> rea

Re: [f2fs-dev] [PATCH 2/9] f2fs: remove f2fs_dir_open()

2020-11-25 Thread Chao Yu
On 2020/11/25 8:23, Eric Biggers wrote: From: Eric Biggers Since encrypted directories can be opened without their encryption key being available, and each readdir tries to set up the key, trying to set readdir -> readdir/lookup? up the key in ->open() too isn't really useful. Just remove

[f2fs-dev] [PATCH 2/9] f2fs: remove f2fs_dir_open()

2020-11-24 Thread Eric Biggers
From: Eric Biggers Since encrypted directories can be opened without their encryption key being available, and each readdir tries to set up the key, trying to set up the key in ->open() too isn't really useful. Just remove it so that directories don't need an ->open() method anymore, and so that