Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190919
b: refs/heads/master
c: bba0b5c
h: refs/heads/master
i:
  190917: 14fefed
  190915: 87748e1
  190911: 064ea1f
v: v3
  • Loading branch information
Joern Engel committed May 5, 2010
1 parent eaf8ff3 commit 0b83651
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 24797535e18ae219be1fc2632959327075bef5da
refs/heads/master: bba0b5c2c27e6dadc93c476f8a4b49d108b66292
4 changes: 4 additions & 0 deletions trunk/fs/logfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,14 @@ static int logfs_sb_set(struct super_block *sb, void *_super)
sb->s_fs_info = super;
sb->s_mtd = super->s_mtd;
sb->s_bdev = super->s_bdev;
#ifdef CONFIG_BLOCK
if (sb->s_bdev)
sb->s_bdi = &bdev_get_queue(sb->s_bdev)->backing_dev_info;
#endif
#ifdef CONFIG_MTD
if (sb->s_mtd)
sb->s_bdi = sb->s_mtd->backing_dev_info;
#endif
return 0;
}

Expand Down

0 comments on commit 0b83651

Please sign in to comment.