summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-04-02 04:28:03 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2021-04-07 19:57:16 +0200
commit06422964c8820233e9abd4ab8c6846e2b881b0b7 (patch)
treea9248ba6065d2b6a2cef7033a417ab141a3c51ba /arch/um
parenttake LOOKUP_{ROOT,ROOT_GRABBED,JUMPED} out of LOOKUP_... space (diff)
downloadlinux-06422964c8820233e9abd4ab8c6846e2b881b0b7.tar.xz
linux-06422964c8820233e9abd4ab8c6846e2b881b0b7.zip
teach set_nameidata() to handle setting the root as well
That way we don't need the callers to mess with manually setting any fields of nameidata instances. Old set_nameidata() gets renamed (__set_nameidata()), new becomes an inlined helper that takes a struct path pointer and deals with setting nd->root and putting ND_ROOT_PRESET in nd->state when new argument is non-NULL. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions