vfs: add path_put_init()
authorMiklos Szeredi <mszeredi@redhat.com>
Thu, 9 Nov 2017 09:23:28 +0000 (10:23 +0100)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 9 Nov 2017 09:23:28 +0000 (10:23 +0100)
commitf121aadede37bcbb77ea552d195a09c734486fe7
treed39fc34e64db8f87cb9053552f207b37a905f9ac
parentf30536f0f955d9d3eb5a7e32033af4e3649de173
vfs: add path_put_init()

This one initializes the struct path to all zeroes so that multiple
path_put_init() on the path is safe.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
include/linux/path.h