summaryrefslogtreecommitdiff
path: root/fs/quota
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2013-08-28 15:49:55 (GMT)
committerAlex Williamson <alex.williamson@redhat.com>2013-08-28 15:49:55 (GMT)
commit20e77457842f4cd253d093f08f0cce1a73afb7db (patch)
tree71a07512440030967a93396992aa5eeaa7d0f991 /fs/quota
parent5d042fbdbb2df46c9185942a0c6fe280906ba70c (diff)
downloadlinux-fsl-qoriq-20e77457842f4cd253d093f08f0cce1a73afb7db.tar.xz
vfio-pci: Use fdget() rather than eventfd_fget()
eventfd_fget() tests to see whether the file is an eventfd file, which we then immediately pass to eventfd_ctx_fileget(), which again tests whether the file is an eventfd file. Simplify slightly by using fdget() so that we only test that we're looking at an eventfd once. fget() could also be used, but fdget() makes use of fget_light() for another slight optimization. Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'fs/quota')
0 files changed, 0 insertions, 0 deletions