summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2010-04-22 12:31:11 +0200
committerJens Axboe <jens.axboe@oracle.com>2010-04-22 12:31:11 +0200
commitf1970c73cbb6b884152207e4dfe90639f5029905 (patch)
tree86f8e8c1dc149b46b01e6235eb3f01c7c6c3d5b5 /include
parentb3d0ab7e60d1865bb6f6a79a77aaba22f2543236 (diff)
ncpfs: add bdi backing to mount session
This ensures that dirty data gets flushed properly. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ncp_fs_sb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ncp_fs_sb.h b/include/linux/ncp_fs_sb.h
index 6330fc76b00f..5ec9ca671687 100644
--- a/include/linux/ncp_fs_sb.h
+++ b/include/linux/ncp_fs_sb.h
@@ -12,6 +12,7 @@
#include <linux/ncp_mount.h>
#include <linux/net.h>
#include <linux/mutex.h>
+#include <linux/backing-dev.h>
#ifdef __KERNEL__
@@ -127,6 +128,7 @@ struct ncp_server {
size_t len;
__u8 data[128];
} unexpected_packet;
+ struct backing_dev_info bdi;
};
extern void ncp_tcp_rcv_proc(struct work_struct *work);