aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/vnode.h
diff options
context:
space:
mode:
authorRyan Libby <rlibby@FreeBSD.org>2020-02-23 03:32:11 +0000
committerRyan Libby <rlibby@FreeBSD.org>2020-02-23 03:32:11 +0000
commit2782c00c0485bb0ec92d7cc95b673116295fce2d (patch)
tree6530e51f607345a95e9190327572922d90a2fefa /sys/sys/vnode.h
parenteaa17d42919c63010bce335146ebc3fd644a5b67 (diff)
downloadsrc-2782c00c0485bb0ec92d7cc95b673116295fce2d.tar.gz
src-2782c00c0485bb0ec92d7cc95b673116295fce2d.zip
vfs: quiet -Wwrite-strings
Reviewed by: kib, markj Differential Revision: https://reviews.freebsd.org/D23797
Notes
Notes: svn path=/head/; revision=358257
Diffstat (limited to 'sys/sys/vnode.h')
-rw-r--r--sys/sys/vnode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index 19c4930263db..cb49e9c97f2a 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -689,7 +689,7 @@ int vn_generic_copy_file_range(struct vnode *invp, off_t *inoffp,
struct thread *fsize_td);
int vn_need_pageq_flush(struct vnode *vp);
int vn_isdisk(struct vnode *vp, int *errp);
-int _vn_lock(struct vnode *vp, int flags, char *file, int line);
+int _vn_lock(struct vnode *vp, int flags, const char *file, int line);
#define vn_lock(vp, flags) _vn_lock(vp, flags, __FILE__, __LINE__)
int vn_open(struct nameidata *ndp, int *flagp, int cmode, struct file *fp);
int vn_open_cred(struct nameidata *ndp, int *flagp, int cmode,