diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2010-04-22 11:58:18 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-04-22 11:58:18 +0200 |
commit | e1da0222753a2322d76c97fc02396fb83143c7ac (patch) | |
tree | cba5f8058b48cc0f6c6647e3f217bf0cfb7b60ef /fs/afs/super.c | |
parent | 0ed07ddb56d1348e5ce33f3b8de20d730351983a (diff) | |
download | blackbird-op-linux-e1da0222753a2322d76c97fc02396fb83143c7ac.tar.gz blackbird-op-linux-e1da0222753a2322d76c97fc02396fb83143c7ac.zip |
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/super.c')
-rw-r--r-- | fs/afs/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/afs/super.c b/fs/afs/super.c index 14f6431598ad..e932e5a3a0c1 100644 --- a/fs/afs/super.c +++ b/fs/afs/super.c @@ -311,6 +311,7 @@ static int afs_fill_super(struct super_block *sb, void *data) sb->s_magic = AFS_FS_MAGIC; sb->s_op = &afs_super_ops; sb->s_fs_info = as; + sb->s_bdi = &as->volume->bdi; /* allocate the root inode and dentry */ fid.vid = as->volume->vid; |