diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2010-04-22 13:58:18 +0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-04-22 13:58:18 +0400 |
commit | e1da0222753a2322d76c97fc02396fb83143c7ac (patch) | |
tree | cba5f8058b48cc0f6c6647e3f217bf0cfb7b60ef /fs/afs/internal.h | |
parent | 0ed07ddb56d1348e5ce33f3b8de20d730351983a (diff) | |
download | linux-e1da0222753a2322d76c97fc02396fb83143c7ac.tar.xz |
afs: 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/afs/internal.h')
-rw-r--r-- | fs/afs/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h index c54dad4e6063..a10f2582844f 100644 --- a/fs/afs/internal.h +++ b/fs/afs/internal.h @@ -19,6 +19,7 @@ #include <linux/workqueue.h> #include <linux/sched.h> #include <linux/fscache.h> +#include <linux/backing-dev.h> #include "afs.h" #include "afs_vl.h" @@ -313,6 +314,7 @@ struct afs_volume { unsigned short rjservers; /* number of servers discarded due to -ENOMEDIUM */ struct afs_server *servers[8]; /* servers on which volume resides (ordered) */ struct rw_semaphore server_sem; /* lock for accessing current server */ + struct backing_dev_info bdi; }; /* |