summaryrefslogtreecommitdiffstats
path: root/include/linux/kref.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-08-12 17:27:30 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-09-26 21:08:53 -0400
commitdcfadfa4ec5a12404a99ad6426871a6b03a62b37 (patch)
treea8c2898366470e795dac369040b905985c0bb9fc /include/linux/kref.h
parentf33ff9927f42045116d738ee47ff7bc59f739bd7 (diff)
downloadop-kernel-dev-dcfadfa4ec5a12404a99ad6426871a6b03a62b37.zip
op-kernel-dev-dcfadfa4ec5a12404a99ad6426871a6b03a62b37.tar.gz
new helper: __alloc_fd()
Essentially, alloc_fd() in a files_struct we own a reference to. Most of the time wanting to use it is a sign of lousy API design (such as android/binder). It's *not* a general-purpose interface; better that than open-coding its guts, but again, playing with other process' descriptor table is a sign of bad design. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/kref.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud