file.c 962 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * linux/fs/ufs/file.c
  3. *
  4. * Copyright (C) 1998
  5. * Daniel Pirkl <daniel.pirkl@email.cz>
  6. * Charles University, Faculty of Mathematics and Physics
  7. *
  8. * from
  9. *
  10. * linux/fs/ext2/file.c
  11. *
  12. * Copyright (C) 1992, 1993, 1994, 1995
  13. * Remy Card (card@masi.ibp.fr)
  14. * Laboratoire MASI - Institut Blaise Pascal
  15. * Universite Pierre et Marie Curie (Paris VI)
  16. *
  17. * from
  18. *
  19. * linux/fs/minix/file.c
  20. *
  21. * Copyright (C) 1991, 1992 Linus Torvalds
  22. *
  23. * ext2 fs regular file handling primitives
  24. */
  25. #include <linux/fs.h>
  26. #include "ufs_fs.h"
  27. #include "ufs.h"
  28. /*
  29. * We have mostly NULL's here: the current defaults are ok for
  30. * the ufs filesystem.
  31. */
  32. const struct file_operations ufs_file_operations = {
  33. .llseek = generic_file_llseek,
  34. .read_iter = generic_file_read_iter,
  35. .write_iter = generic_file_write_iter,
  36. .mmap = generic_file_mmap,
  37. .open = generic_file_open,
  38. .fsync = generic_file_fsync,
  39. .splice_read = generic_file_splice_read,
  40. };