[RESEND v3 PATCH 2/3] vfs: cleanup show_mountinfo

2014-09-29 Thread Dmitry V. Levin
Date: Wed, 17 Oct 2012 20:29:36 +0400 Starting with commit v3.2-rc4-1-g02125a8, seq_path_root() no longer changes the value of its "struct path *root" argument. Starting with commit v3.2-rc7-104-g8c9379e, the "struct path *root" argument of seq_path_root() is const. As result, the temporary variab

[PATCH 2/3] vfs: cleanup show_mountinfo

2013-01-29 Thread Dmitry V. Levin
Starting with commit v3.2-rc4-1-g02125a8, seq_path_root() no longer changes the value of its "struct path *root" argument. Starting with commit v3.2-rc7-104-g8c9379e, the "struct path *root" argument of seq_path_root() is const. As result, the temporary variable "root" in show_mountinfo() that hold

[PATCH 2/3] vfs: cleanup show_mountinfo

2012-10-17 Thread Dmitry V. Levin
Starting with commit v3.2-rc4-1-g02125a8, seq_path_root() no longer changes the value of its "struct path *root" argument. Starting with commit v3.2-rc7-104-g8c9379e, the "struct path *root" argument of seq_path_root() is const. As result, the temporary variable "root" in show_mountinfo() that hold