diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2012-10-17 20:29:36 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-12-17 16:27:15 +0300 |
commit | 9ad4dc4f7318080e2e4e0cd23623211a20d33861 (patch) | |
tree | 21583c59652b5e9a3a367e051185775b65ac787f /net/socket.c | |
parent | 10975933da3d65f8833d4ce98dcc2ecc63a695d6 (diff) | |
download | linux-9ad4dc4f7318080e2e4e0cd23623211a20d33861.tar.xz |
vfs: cleanup show_mountinfo
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
holds a copy of struct path root is no longer needed.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions