mbox series

[0/1] smb3: Memory leak/page refcount overflow fix

Message ID 20230228223838.3794807-1-dhowells@redhat.com (mailing list archive)
Headers show
Series smb3: Memory leak/page refcount overflow fix | expand

Message

David Howells Feb. 28, 2023, 10:38 p.m. UTC
Hi Steve,

Here's another fix patch for you.  It fixes a leak of the pages extracted
for direct I/O.  This was causing the page refcount to overflow and become
negative and then try_grab_page() would always fail on it.

I've pushed the patch here also:

	https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=iov-cifs

David

David Howells (1):
  cifs: Fix memory leak in direct I/O

 fs/cifs/file.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)