b24413180f560 (Greg Kroah-Hartman 2017-11-01 15:07:57 +0100 1) // SPDX-License-Identifier: GPL-2.0
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 2) /*
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 3) * linux/fs/adfs/file.c
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 4) *
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 5) * Copyright (C) 1997-1999 Russell King
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 6) * from:
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 7) *
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 8) * linux/fs/ext2/file.c
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 9) *
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 10) * Copyright (C) 1992, 1993, 1994, 1995
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 11) * Remy Card (card@masi.ibp.fr)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 12) * Laboratoire MASI - Institut Blaise Pascal
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 13) * Universite Pierre et Marie Curie (Paris VI)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 14) *
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 15) * from
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 16) *
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 17) * linux/fs/minix/file.c
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 18) *
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 19) * Copyright (C) 1991, 1992 Linus Torvalds
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 20) *
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 21) * adfs regular file handling primitives
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 22) */
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 23) #include "adfs.h"
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 24)
4b6f5d20b04dc (Arjan van de Ven 2006-03-28 01:56:42 -0800 25) const struct file_operations adfs_file_operations = {
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 26) .llseek = generic_file_llseek,
aad4f8bb42af0 (Al Viro 2014-04-02 14:33:16 -0400 27) .read_iter = generic_file_read_iter,
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 28) .mmap = generic_file_mmap,
1b061d9247f71 (Christoph Hellwig 2010-05-26 17:53:41 +0200 29) .fsync = generic_file_fsync,
8174202b34c30 (Al Viro 2014-04-03 03:17:43 -0400 30) .write_iter = generic_file_write_iter,
5ffc4ef45b3b0 (Jens Axboe 2007-06-01 11:49:19 +0200 31) .splice_read = generic_file_splice_read,
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 32) };
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 33)
754661f143e70 (Arjan van de Ven 2007-02-12 00:55:38 -0800 34) const struct inode_operations adfs_file_inode_operations = {
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 35) .setattr = adfs_notify_change,
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 36) };