summaryrefslogtreecommitdiff
path: root/fs/attr.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-08-18 05:32:56 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-08-22 18:26:42 +0400
commit31605debdf5459cc8aacabf192a911a803a81c26 (patch)
tree4f7921f9bc1976336afbbbf431450d1d247a6161 /fs/attr.c
parent90b1253e4139776e8257914ae9e2292d0de2fecc (diff)
downloadlinux-31605debdf5459cc8aacabf192a911a803a81c26.tar.xz
vfio: grab vfio_device reference *before* exposing the sucker via fd_install()
It's not critical (anymore) since another thread closing the file will block on ->device_lock before it gets to dropping the final reference, but it's definitely cleaner that way... Acked-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions