]> git.karo-electronics.de Git - linux-beck.git/commit
proc/self: use generic_readlink
authorMiklos Szeredi <mszeredi@redhat.com>
Fri, 9 Dec 2016 15:45:03 +0000 (16:45 +0100)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 9 Dec 2016 15:45:03 +0000 (16:45 +0100)
commit2a07a1f5abba308729bd082dce4d035365165d85
tree6608a88e5bb8552fb061430eea7f6955d81544cd
parent6c988f575915ab5162332d61f91dca99dcc17335
proc/self: use generic_readlink

The /proc/self and /proc/self-thread symlinks have separate but identical
functionality for reading and following.  This cleanup utilizes
generic_readlink to remove the duplication.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/proc/self.c
fs/proc/thread_self.c