diff options
author | Oleg Nesterov <oleg@redhat.com> | 2014-10-09 15:25:43 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-09 22:25:49 -0400 |
commit | 557c2d8a73dc078817ba6949697ceb8c0f3f7362 (patch) | |
tree | d9e8b719e407e94ae69dba39ad9d3937187251df /drivers/reset | |
parent | b8c20a9b85b057c850f63ee4c63531a356d8596a (diff) | |
download | linux-557c2d8a73dc078817ba6949697ceb8c0f3f7362.tar.gz linux-557c2d8a73dc078817ba6949697ceb8c0f3f7362.tar.bz2 linux-557c2d8a73dc078817ba6949697ceb8c0f3f7362.zip |
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 <oleg@redhat.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions