mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
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>
This commit is contained in:
parent
1b8abbb121
commit
df9a4d79f1
|
|
@ -529,7 +529,7 @@ nfs_set_local_verifier(struct inode *inode,
|
|||
}
|
||||
|
||||
/* Factored out from fs/nfsd/vfs.h:fh_getattr() */
|
||||
static int __vfs_getattr(struct path *p, struct kstat *stat, int version)
|
||||
static int __vfs_getattr(const struct path *p, struct kstat *stat, int version)
|
||||
{
|
||||
u32 request_mask = STATX_BASIC_STATS;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user