mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
682 B

  1. diff -dur LVM2.2.00.25/lib/device/dev-io.c LVM2.2.00.25-patch/lib/device/dev-io.c
  2. --- LVM2.2.00.25/lib/device/dev-io.c 2004-09-14 22:23:23.000000000 +0000
  3. +++ LVM2.2.00.25-patch/lib/device/dev-io.c 2004-10-23 21:47:37.092530280 +0000
  4. @@ -31,6 +31,13 @@
  5. # define u64 uint64_t /* Missing without __KERNEL__ */
  6. # undef WNOHANG /* Avoid redefinition */
  7. # undef WUNTRACED /* Avoid redefinition */
  8. +
  9. +/* for linux-2.6.9, from linux/types.h */
  10. +# include <asm/types.h>
  11. +# ifndef pgoff_t
  12. +# define pgoff_t unsigned long
  13. +# endif
  14. +
  15. # include <linux/fs.h> /* For block ioctl definitions */
  16. # define BLKSIZE_SHIFT SECTOR_SHIFT
  17. # ifndef BLKGETSIZE64 /* fs.h out-of-date */