summaryrefslogtreecommitdiff
path: root/fs/fuse
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2009-07-10 20:06:42 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-07-10 19:09:46 -0700
commit097041e576ee3a50d92dd643ee8ca65bf6a62e21 (patch)
tree103bb259744701fb702015d539ecb4fe12a0fb83 /fs/fuse
parent69ca06c9454169c4a9303e8834adae9080f94859 (diff)
downloadlinux-3.10-097041e576ee3a50d92dd643ee8ca65bf6a62e21.tar.gz
linux-3.10-097041e576ee3a50d92dd643ee8ca65bf6a62e21.tar.bz2
linux-3.10-097041e576ee3a50d92dd643ee8ca65bf6a62e21.zip
fuse: Fix build error
When building v2.6.31-rc2-344-g69ca06c, the following build errors are found due to missing includes: CC [M] fs/fuse/dev.o fs/fuse/dev.c: In function ‘request_end’: fs/fuse/dev.c:289: error: ‘BLK_RW_SYNC’ undeclared (first use in this function) ... fs/nfs/write.c: In function ‘nfs_set_page_writeback’: fs/nfs/write.c:207: error: ‘BLK_RW_ASYNC’ undeclared (first use in this function) Signed-off-by: Larry Finger@lwfinger.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fuse')
-rw-r--r--fs/fuse/dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c
index 6484eb75acd..cbceacbc0bf 100644
--- a/fs/fuse/dev.c
+++ b/fs/fuse/dev.c
@@ -16,6 +16,7 @@
#include <linux/pagemap.h>
#include <linux/file.h>
#include <linux/slab.h>
+#include <linux/blkdev.h>
MODULE_ALIAS_MISCDEV(FUSE_MINOR);