mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/5] 32-bit lseek and /dev/mem fixes/improvements
@ 2019-02-04 14:46 Sascha Hauer
  2019-02-04 14:46 ` [PATCH 1/5] fs: let truncate take a loff_t argument Sascha Hauer
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Sascha Hauer @ 2019-02-04 14:46 UTC (permalink / raw)
  To: Barebox List; +Cc: Andrey Smirnov

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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-02-06  7:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-04 14:46 [PATCH 0/5] 32-bit lseek and /dev/mem fixes/improvements Sascha Hauer
2019-02-04 14:46 ` [PATCH 1/5] fs: let truncate take a loff_t argument Sascha Hauer
2019-02-04 14:46 ` [PATCH 2/5] fs: set errno in ftruncate() Sascha Hauer
2019-02-04 14:46 ` [PATCH 3/5] fs: do not call truncate for FILE_SIZE_STREAM sized files Sascha Hauer
2019-02-04 14:46 ` [PATCH 4/5] fs: devfs: forbid truncation when cdev has no truncate operation Sascha Hauer
2019-02-04 14:46 ` [PATCH 5/5] misc: fix /dev/mem size Sascha Hauer
2019-02-05 21:44 ` [PATCH 0/5] 32-bit lseek and /dev/mem fixes/improvements Andrey Smirnov
2019-02-06  7:33   ` Sascha Hauer
2019-02-06  7:37     ` Andrey Smirnov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox