diff options
| author | Jens Axboe <jens.axboe@oracle.com> | 2010-04-22 06:12:40 -0400 |
|---|---|---|
| committer | Jens Axboe <jens.axboe@oracle.com> | 2010-04-22 06:12:40 -0400 |
| commit | 5163d90076729413cb882d3dd5c3d3cfb5b9f035 (patch) | |
| tree | b2e3419e481f4373bb511642953f6faca5157a51 /include/linux | |
| parent | 8044f7f468469c80031611206d554f86fcdfe704 (diff) | |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/coda_psdev.h b/include/linux/coda_psdev.h index 5b5d4731f956..644062e8d857 100644 --- a/include/linux/coda_psdev.h +++ b/include/linux/coda_psdev.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | #ifndef __CODA_PSDEV_H | 1 | #ifndef __CODA_PSDEV_H |
| 2 | #define __CODA_PSDEV_H | 2 | #define __CODA_PSDEV_H |
| 3 | 3 | ||
| 4 | #include <linux/backing-dev.h> | ||
| 4 | #include <linux/magic.h> | 5 | #include <linux/magic.h> |
| 5 | 6 | ||
| 6 | #define CODA_PSDEV_MAJOR 67 | 7 | #define CODA_PSDEV_MAJOR 67 |
| @@ -17,6 +18,7 @@ struct venus_comm { | |||
| 17 | struct list_head vc_processing; | 18 | struct list_head vc_processing; |
| 18 | int vc_inuse; | 19 | int vc_inuse; |
| 19 | struct super_block *vc_sb; | 20 | struct super_block *vc_sb; |
| 21 | struct backing_dev_info bdi; | ||
| 20 | }; | 22 | }; |
| 21 | 23 | ||
| 22 | 24 | ||
