[Devel] [PATCH rh7 0/2] vfs: avoid attempts to access beyond end of device

Maxim Patlasov mpatlasov at virtuozzo.com
Fri Oct 21 19:12:54 PDT 2016


The series backports two commits from mainline fixing
attempts to read beyond end of device. This is useful
because since we began to use dm-crypt over ploop,
the message "attempt to access beyond end of device"
is printed (to dmesg and /var/log/messages) every time
we start encrypted container.

---

Maxim Patlasov (2):
      vfs: make guard_bh_eod() more generic
      vfs: guard end of device for mpage interface


 fs/buffer.c   |   26 ++++++++++++--------------
 fs/internal.h |    5 +++++
 fs/mpage.c    |    2 ++
 3 files changed, 19 insertions(+), 14 deletions(-)

--
Signature


More information about the Devel mailing list