aboutsummaryrefslogtreecommitdiffstats
path: root/fs/afs/super.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2010-04-22 11:58:18 +0200
committerJens Axboe <jens.axboe@oracle.com>2010-04-22 11:58:18 +0200
commite1da0222753a2322d76c97fc02396fb83143c7ac (patch)
treecba5f8058b48cc0f6c6647e3f217bf0cfb7b60ef /fs/afs/super.c
parent9p: add bdi backing to mount session (diff)
downloadlinux-dev-e1da0222753a2322d76c97fc02396fb83143c7ac.tar.xz
linux-dev-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.c1
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;