file.c (846B)
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * linux/fs/adfs/file.c 4 * 5 * Copyright (C) 1997-1999 Russell King 6 * from: 7 * 8 * linux/fs/ext2/file.c 9 * 10 * Copyright (C) 1992, 1993, 1994, 1995 11 * Remy Card (card@masi.ibp.fr) 12 * Laboratoire MASI - Institut Blaise Pascal 13 * Universite Pierre et Marie Curie (Paris VI) 14 * 15 * from 16 * 17 * linux/fs/minix/file.c 18 * 19 * Copyright (C) 1991, 1992 Linus Torvalds 20 * 21 * adfs regular file handling primitives 22 */ 23#include "adfs.h" 24 25const struct file_operations adfs_file_operations = { 26 .llseek = generic_file_llseek, 27 .read_iter = generic_file_read_iter, 28 .mmap = generic_file_mmap, 29 .fsync = generic_file_fsync, 30 .write_iter = generic_file_write_iter, 31 .splice_read = generic_file_splice_read, 32}; 33 34const struct inode_operations adfs_file_inode_operations = { 35 .setattr = adfs_notify_change, 36};