Re: [PATCH v3 07/14] vfs: move ->create check in lookup_open() to before try_break_deleg()
From: Christian Brauner
Date: Tue Jul 07 2026 - 07:03:16 EST
> The i_op->create check in lookup_open() takes place after the
> try_break_deleg() call. This does not match the order when doing a
> regular file create via mknod(2). There the call order is:
>
> filename_mknodat()
> vfs_create()
> i_op->create check
> try_break_deleg()
>
> Move the i_op->create check to before try_break_deleg() in
> lookup_open().
>
> Signed-off-by: Jori Koolstra <jkoolstra@xxxxxxxxx>
Unrelated fix...
--
Christian Brauner <brauner@xxxxxxxxxx>