commit | 801a76050bcf8d4e500eb8d048ff6265f37a61c8 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@ZenIV.linux.org.uk> | Tue Nov 19 01:20:43 2013 +0000 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Nov 18 19:07:53 2013 -0800 |
tree | 261258d2a4f61f07f238c18ea1087fca6eea9947 | |
parent | 27b5c3f3cc9c5ce0702db1cca718c827e8b689e9 [diff] |
seq_file: always clear m->count when we free m->buf Once we'd freed m->buf, m->count should become zero - we have no valid contents reachable via m->buf. Reported-by: Charley (Hao Chuan) Chu <charley.chu@broadcom.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>