diff options
| author | 2016-01-09 21:45:10 -0800 | |
|---|---|---|
| committer | 2016-01-28 11:58:02 -0800 | |
| commit | f557474ca3a23800dffb790846bcb121fa046c71 (patch) | |
| tree | 0a77a92c9d977bc31a35567afab4c2a268eb6436 /scripts/Makefile.thinlto | |
| parent | tty, n_tty: Remove fasync() ldisc notification (diff) | |
tty: Add fasync() hung up file operation
VFS uses a two-stage check-and-call method for invoking file_operations
methods, without explicitly snapshotting either the file_operations ptr
or the function ptr. Since the tty core is one of the few VFS users that
changes the f_op file_operations ptr of the file descriptor (when the
tty has been hung up), and since the likelihood of the compiler generating
a reload of either f_op or the function ptr is basically nil, just define
a hung up fasync() file operation that returns an error.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
