[RESEND v4 PATCH 1/2] vfs: cleanup show_mountinfo

2014-12-15 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

[RESEND v4 PATCH 1/2] vfs: cleanup show_mountinfo

2014-12-15 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 variable