has_write 622 fs/kernfs/file.c bool has_read, has_write, has_mmap; has_write 631 fs/kernfs/file.c has_write = ops->write || ops->mmap; has_write 637 fs/kernfs/file.c (!(inode->i_mode & S_IWUGO) || !has_write))