From: Al Viro Date: Tue, 19 Nov 2013 01:20:43 +0000 (+0000) Subject: seq_file: always clear m->count when we free m->buf X-Git-Tag: v3.13-rc1~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=801a76050bcf8d4e500eb8d048ff6265f37a61c8;p=pandora-kernel.git 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 Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed