Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

nfs: constify path argument of __vfs_getattr()

Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro df9a4d79 1b8abbb1

+1 -1
+1 -1
fs/nfs/localio.c
··· 529 529 } 530 530 531 531 /* Factored out from fs/nfsd/vfs.h:fh_getattr() */ 532 - static int __vfs_getattr(struct path *p, struct kstat *stat, int version) 532 + static int __vfs_getattr(const struct path *p, struct kstat *stat, int version) 533 533 { 534 534 u32 request_mask = STATX_BASIC_STATS; 535 535