summaryrefslogtreecommitdiff
path: root/drivers/scsi/sun3x_esp.c
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2015-10-29 14:58:06 +0100
committerDavid S. Miller <davem@davemloft.net>2015-11-02 22:48:39 -0500
commitaa79781b65b9cf79807ade78f2703f5e9402c336 (patch)
tree7b2eaa26b26f7c59283b87b6c44a5855dd249273 /drivers/scsi/sun3x_esp.c
parent1d6119baf0610f813eb9d9580eb4fd16de5b4ceb (diff)
bpf: abstract anon_inode_getfd invocations
Since we're going to use anon_inode_getfd() invocations in more than just the current places, make a helper function for both, so that we only need to pass a map/prog pointer to the helper itself in order to get a fd. The new helpers are called bpf_map_new_fd() and bpf_prog_new_fd(). Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/sun3x_esp.c')
0 files changed, 0 insertions, 0 deletions