[PATCH 0/5] 32-bit lseek and /dev/mem fixes/improvements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series ontop of Andreys series (minus the patches that I have
reverted) makes /dev/mem work for the whole 64bit address space without
hopefully special casing too much. "fs: set errno in ftruncate()" and
"fs: devfs: forbid truncation when cdev has no truncate operation" are
not directly related, I stumbled upon these while working on the
patches.

See the full series in -next. Comments welcome, if somethings wrong with
it we can still change.

Sascha

Sascha Hauer (5):
  fs: let truncate take a loff_t argument
  fs: set errno in ftruncate()
  fs: do not call truncate for FILE_SIZE_STREAM sized files
  fs: devfs: forbid truncation when cdev has no truncate operation
  misc: fix /dev/mem size

 drivers/misc/mem.c   | 35 ++++++++++++++++++++++++++++++++---
 fs/devfs.c           |  8 ++------
 fs/efi.c             |  2 +-
 fs/efivarfs.c        |  2 +-
 fs/fat/fat.c         |  2 +-
 fs/fs.c              |  7 ++++++-
 fs/nfs.c             |  2 +-
 fs/omap4_usbbootfs.c |  2 +-
 fs/ramfs.c           |  2 +-
 fs/ratpfs.c          |  2 +-
 fs/smhfs.c           |  2 +-
 fs/tftp.c            |  2 +-
 include/fs.h         |  2 +-
 13 files changed, 50 insertions(+), 20 deletions(-)

-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux