From: Oleg Nesterov Date: Thu, 9 Oct 2014 22:25:43 +0000 (-0700) Subject: fs/proc/task_mmu.c: update m->version in the main loop in m_start() X-Git-Tag: fixes-against-v3.18-rc2~137^2~129 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=557c2d8a73dc078817ba6949697ceb8c0f3f7362;p=pandora-kernel.git fs/proc/task_mmu.c: update m->version in the main loop in m_start() Change the main loop in m_start() to update m->version. Mostly for consistency, but this can help to avoid the same loop if the very 1st ->show() fails due to seq_overflow(). Signed-off-by: Oleg Nesterov Cc: Kirill A. Shutemov Cc: Cyrill Gorcunov Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed