commit | 5892753383090a3eddf0e1b043c95e3b2c7feda5 | [log] [tgz] |
---|---|---|
author | Rik van Riel <riel@redhat.com> | Mon Apr 26 12:33:03 2010 -0400 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Apr 27 08:26:51 2010 -0700 |
tree | f1a1d3b449f275dd34ba34208704e92900032f9b | |
parent | a231a1f2714ce3b28445ac512a556d6c95517dab [diff] |
mmap: check ->vm_ops before dereferencing Check whether the VMA has a vm_ops before calling close, just like we check vm_ops before calling open a few dozen lines higher up in the function. Signed-off-by: Rik van Riel <riel@redhat.com> Reported-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>