summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2010-04-22 12:12:40 +0200
committerJens Axboe <jens.axboe@oracle.com>2010-04-22 12:12:40 +0200
commit5163d90076729413cb882d3dd5c3d3cfb5b9f035 (patch)
treeb2e3419e481f4373bb511642953f6faca5157a51 /include/linux
parent8044f7f468469c80031611206d554f86fcdfe704 (diff)
downloadop-kernel-dev-5163d90076729413cb882d3dd5c3d3cfb5b9f035.zip
op-kernel-dev-5163d90076729413cb882d3dd5c3d3cfb5b9f035.tar.gz
coda: 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/linux')
-rw-r--r--include/linux/coda_psdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/coda_psdev.h b/include/linux/coda_psdev.h
index 5b5d473..644062e8 100644
--- a/include/linux/coda_psdev.h
+++ b/include/linux/coda_psdev.h
@@ -1,6 +1,7 @@
#ifndef __CODA_PSDEV_H
#define __CODA_PSDEV_H
+#include <linux/backing-dev.h>
#include <linux/magic.h>
#define CODA_PSDEV_MAJOR 67
@@ -17,6 +18,7 @@ struct venus_comm {
struct list_head vc_processing;
int vc_inuse;
struct super_block *vc_sb;
+ struct backing_dev_info bdi;
};
OpenPOWER on IntegriCloud