]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Linux 3.10: Include linux/aio.h directly
authorMarc Dionne <marc.dionne@your-file-system.com>
Wed, 15 May 2013 19:19:22 +0000 (15:19 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Thu, 30 May 2013 14:44:28 +0000 (07:44 -0700)
This file needs bits from linux/aio.h, but gets them indirectly
from the inclusion of aio.h by sched.h.  That gets removed for
Linux 3.10.

Since this header is not of general interest elsewhere, just include
it directly here.

Reviewed-on: http://gerrit.openafs.org/9912
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit fca4252621b80c5126e1ae3d84a54da5ebc677ba)

Change-Id: I7da471ee033087592b9ec3f10331baf0135cc201
Reviewed-on: http://gerrit.openafs.org/9947
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/afs/LINUX/osi_vnodeops.c

index f8db123c1525ca15645cb4ab6cfc2f420a147770..fa0ad91be0c287474145d70a93e060d1c4fa0fd6 100644 (file)
@@ -32,6 +32,7 @@
 #include <linux/pagemap.h>
 #include <linux/writeback.h>
 #include <linux/pagevec.h>
+#include <linux/aio.h>
 #include "afs/lock.h"
 #include "afs/afs_bypasscache.h"