X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=fs%2Fblock_dev.c;h=3172c4e2f50255e1cb1fb426c1723a6b7b493bb2;hb=33c1f638a0feda92ffcb507c302482a5e6158a87;hp=826b164a4b5b1faa9719aefc9cceccec20eda479;hpb=42576bee6eacda29a3193e97961ab3583a324850;p=deliverable%2Flinux.git diff --git a/fs/block_dev.c b/fs/block_dev.c index 826b164a4b5b..3172c4e2f502 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -575,7 +575,11 @@ static const struct super_operations bdev_sops = { static struct dentry *bd_mount(struct file_system_type *fs_type, int flags, const char *dev_name, void *data) { - return mount_pseudo(fs_type, "bdev:", &bdev_sops, NULL, BDEVFS_MAGIC); + struct dentry *dent; + dent = mount_pseudo(fs_type, "bdev:", &bdev_sops, NULL, BDEVFS_MAGIC); + if (dent) + dent->d_sb->s_iflags |= SB_I_CGROUPWB; + return dent; } static struct file_system_type bd_type = {