Commit c1b0b9d7 authored by NeilBrown's avatar NeilBrown Committed by Trond Myklebust
Browse files

nfs: use lock_two_nondirectories()



Rather than open-coding this function call it to make intention clear
and to use "correct" nesting levels (parent and child are for
directories).

This is purely cosmetic with no expected change in behaviour.

Signed-off-by: default avatarNeilBrown <neil@brown.name>
Link: https://lore.kernel.org/r/174942091741.608730.3327223511347232829@noble.neil.brown.name


Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 4b542741
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment