From: Linus Torvalds Date: Fri, 7 Oct 2022 00:31:02 +0000 (-0700) Subject: Merge tag 'pull-path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs X-Git-Tag: xarray-6.6~2180 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=4c0ed7d8d6e3dc013c4599a837de84794baa5b62;p=users%2Fwilly%2Fxarray.git Merge tag 'pull-path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs Pull vfs constification updates from Al Viro: "whack-a-mole: constifying struct path *" * tag 'pull-path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: ecryptfs: constify path spufs: constify path nd_jump_link(): constify path audit_init_parent(): constify path __io_setxattr(): constify path do_proc_readlink(): constify path overlayfs: constify path fs/notify: constify path may_linkat(): constify path do_sys_name_to_handle(): constify path ->getprocattr(): attribute name is const char *, TYVM... --- 4c0ed7d8d6e3dc013c4599a837de84794baa5b62 diff --cc fs/overlayfs/readdir.c index 8c25d185cdc0,268ed415577a..2b210640036c --- a/fs/overlayfs/readdir.c +++ b/fs/overlayfs/readdir.c @@@ -544,10 -544,10 +544,10 @@@ static bool ovl_fill_plain(struct dir_c } list_add_tail(&p->l_node, rdd->list); - return 0; + return true; } - static int ovl_dir_read_impure(struct path *path, struct list_head *list, + static int ovl_dir_read_impure(const struct path *path, struct list_head *list, struct rb_root *root) { int err;