Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-drm-fsl-dcu.git] / drivers / staging / lustre / lustre / llite / llite_lib.c
index 0af546a74154df26906e4f6be643096ab32054b2..0c1b583a4ea1fe77fd5e694e2f35e312cf0ae271 100644 (file)
@@ -945,7 +945,7 @@ int ll_fill_super(struct super_block *sb, struct vfsmount *mnt)
        if (err)
                goto out_free;
        lsi->lsi_flags |= LSI_BDI_INITIALIZED;
-       lsi->lsi_bdi.capabilities = BDI_CAP_MAP_COPY;
+       lsi->lsi_bdi.capabilities = 0;
        err = ll_bdi_register(&lsi->lsi_bdi);
        if (err)
                goto out_free;
@@ -1770,10 +1770,6 @@ void ll_read_inode2(struct inode *inode, void *opaque)
 
        /* OIDEBUG(inode); */
 
-       /* initializing backing dev info. */
-       inode->i_mapping->backing_dev_info = &s2lsi(inode->i_sb)->lsi_bdi;
-
-
        if (S_ISREG(inode->i_mode)) {
                struct ll_sb_info *sbi = ll_i2sbi(inode);