summaryrefslogtreecommitdiff
path: root/fs/coredump.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-04-02 05:28:03 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2021-04-07 20:57:16 +0300
commit06422964c8820233e9abd4ab8c6846e2b881b0b7 (patch)
treea9248ba6065d2b6a2cef7033a417ab141a3c51ba /fs/coredump.c
parentbcba1e7d0d520adba895d9e0800a056f734b0a6a (diff)
downloadlinux-06422964c8820233e9abd4ab8c6846e2b881b0b7.tar.xz
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 'fs/coredump.c')
0 files changed, 0 insertions, 0 deletions