aboutsummaryrefslogtreecommitdiff
path: root/fs/9p/v9fs.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2010-04-22 11:42:00 +0200
committerJens Axboe <jens.axboe@oracle.com>2010-04-22 11:42:00 +0200
commit0ed07ddb56d1348e5ce33f3b8de20d730351983a (patch)
tree2a1487252e9ecd6fe5b7ff87d9b035f040ab8ff1 /fs/9p/v9fs.h
parentc3c532061e46156e8aab1268f38d66cfb63aeb2d (diff)
9p: 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 'fs/9p/v9fs.h')
-rw-r--r--fs/9p/v9fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/9p/v9fs.h b/fs/9p/v9fs.h
index a0a8d3dd136..bec4d0bcb45 100644
--- a/fs/9p/v9fs.h
+++ b/fs/9p/v9fs.h
@@ -20,6 +20,7 @@
* Boston, MA 02111-1301 USA
*
*/
+#include <linux/backing-dev.h>
/**
* enum p9_session_flags - option flags for each 9P session
@@ -102,6 +103,7 @@ struct v9fs_session_info {
u32 uid; /* if ACCESS_SINGLE, the uid that has access */
struct p9_client *clnt; /* 9p client */
struct list_head slist; /* list of sessions registered with v9fs */
+ struct backing_dev_info bdi;
};
struct p9_fid *v9fs_session_init(struct v9fs_session_info *, const char *,