file: The f_ops table pointer can be a pointer to const

No functional change intended.

MFC after:	2 weeks
This commit is contained in:
Mark Johnston 2024-11-04 19:38:33 +00:00
parent ff84f8b536
commit c477d89743

View file

@ -186,7 +186,7 @@ struct file {
volatile u_int f_flag; /* see fcntl.h */
volatile u_int f_count; /* reference count */
void *f_data; /* file descriptor specific data */
struct fileops *f_ops; /* File operations */
const struct fileops *f_ops; /* File operations */
struct vnode *f_vnode; /* NULL or applicable vnode */
struct ucred *f_cred; /* associated credentials. */
short f_type; /* descriptor type */