From: Jeff Layton <[email protected]>

test13 mmaps the testfile, but doesn't munmap it before returning.

Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Pavel Shilovsky <[email protected]>
---
 lock/tlock.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lock/tlock.c b/lock/tlock.c
index 39a6ad9..6e19a3d 100644
--- a/lock/tlock.c
+++ b/lock/tlock.c
@@ -1509,6 +1509,7 @@ test13()
                        FATAL);
                test(13, 4, F_TLOCK, (off_t)mappedlen - 2, (off_t)END,
                        lock1err, WARN);
+               testmunmap();
                close_testfile(DO_UNLINK);
 
                childfree(0);
-- 
1.8.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to