Re: [PATCH v2 11/14] nfsd: move some code out of the d_really_is_negative() branch in nfsd4_create_file()
Jeff Layton <[email protected]>
| Newsgroups | gmane.linux.nfs |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2026-07-06 at 08:19 +1000, NeilBrown wrote: > From: NeilBrown <neil-+NVA1uvv1dVBDLzU/[email protected]> > > The benefit of this code movement isn't immediately obvious, but it will > make it easier to switch to using vfs_lookup_open(). > > One immediate benefit is that common code in the d_is_positive() branch > can be discarded. > > Signed-off-by: NeilBrown <neil-+NVA1uvv1dVBDLzU/[email protected]> > --- > fs/nfsd/nfs4proc.c | 73 ++++++++++++++++++---------------------------- > 1 file changed, 28 insertions(+), 45 deletions(-) > Reviewed-by: Jeff Layton <[email protected]>