Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344845
b: refs/heads/master
c: 79add3a
h: refs/heads/master
i:
  344843: cac1289
v: v3
  • Loading branch information
Lukas Czerner authored and Theodore Ts'o committed Nov 8, 2012
1 parent d3c95a2 commit 834668e
Show file tree
Hide file tree
Showing 2 changed files with 9 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: d8ec0c396083ef633a065629df1565246dbb2f33
refs/heads/master: 79add3a3f795e688e35d5e703d5a8cfa8ef923ac
8 changes: 8 additions & 0 deletions trunk/fs/ext4/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -4015,6 +4015,14 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
}
#endif /* CONFIG_QUOTA */

if (test_opt(sb, DISCARD)) {
struct request_queue *q = bdev_get_queue(sb->s_bdev);
if (!blk_queue_discard(q))
ext4_msg(sb, KERN_WARNING,
"mounting with \"discard\" option, but "
"the device does not support discard");
}

ext4_msg(sb, KERN_INFO, "mounted filesystem with%s. "
"Opts: %s%s%s", descr, sbi->s_es->s_mount_opts,
*sbi->s_es->s_mount_opts ? "; " : "", orig_data);
Expand Down

0 comments on commit 834668e

Please sign in to comment.