summaryrefslogtreecommitdiffstats
path: root/lib/hexdump.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-09-03 11:02:50 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-09-03 11:02:50 -0700
commit3e423945ea94412283eaba8bfbe9d6e0a80b434f (patch)
tree996bdceda74012fd350d7fe78662c8f5e12c8688 /lib/hexdump.c
parent0141af184adc7f6ea9bd2f9631a15704d0806f8b (diff)
downloadlinux-3e423945ea94412283eaba8bfbe9d6e0a80b434f.tar.gz
linux-3e423945ea94412283eaba8bfbe9d6e0a80b434f.tar.bz2
linux-3e423945ea94412283eaba8bfbe9d6e0a80b434f.zip
devpts: return NULL pts 'priv' entry for non-devpts nodes
In commit 8ead9dd54716 ("devpts: more pty driver interface cleanups") I made devpts_get_priv() just return the dentry->fs_data directly. And because I thought it wouldn't happen, I added a warning if you ever saw a pts node that wasn't on devpts. And no, that warning never triggered under any actual real use, but you can trigger it by creating nonsensical pts nodes by hand. So just revert the warning, and make devpts_get_priv() return NULL for that case like it used to. Reported-by: Dmitry Vyukov <dvyukov@google.com> Cc: stable@vger.kernel.org # 4.6+ Cc: Eric W Biederman" <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/hexdump.c')
0 files changed, 0 insertions, 0 deletions