Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190090
b: refs/heads/master
c: b863907
h: refs/heads/master
v: v3
  • Loading branch information
Joern Engel committed Apr 17, 2010
1 parent 564d75f commit 3ede301
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 1f1b0008e8dd1930d6e89522c70f4a438374302a
refs/heads/master: b8639077abf034824046ed09e779b74c4393031f
5 changes: 5 additions & 0 deletions trunk/fs/logfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/
#include "logfs.h"
#include <linux/bio.h>
#include <linux/blkdev.h>
#include <linux/mtd/mtd.h>
#include <linux/statfs.h>
#include <linux/buffer_head.h>
Expand Down Expand Up @@ -136,6 +137,10 @@ 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;
if (sb->s_bdev)
sb->s_bdi = &bdev_get_queue(sb->s_bdev)->backing_dev_info;
if (sb->s_mtd)
sb->s_bdi = sb->s_mtd->backing_dev_info;
return 0;
}

Expand Down

0 comments on commit 3ede301

Please sign in to comment.