Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9232
b: refs/heads/master
c: 275abf5
h: refs/heads/master
v: v3
  • Loading branch information
OGAWA Hirofumi authored and Linus Torvalds committed Sep 23, 2005
1 parent 40f5f16 commit 305d8a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ff69416e6323fe9d38c42a06ebdefeb58bbe9336
refs/heads/master: 275abf5b06676ca057cf3e15f0d027eafcb204a0
11 changes: 5 additions & 6 deletions trunk/fs/ext3/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -512,15 +512,14 @@ static void ext3_clear_inode(struct inode *inode)

static int ext3_show_options(struct seq_file *seq, struct vfsmount *vfs)
{
struct ext3_sb_info *sbi = EXT3_SB(vfs->mnt_sb);
struct super_block *sb = vfs->mnt_sb;
struct ext3_sb_info *sbi = EXT3_SB(sb);

if (sbi->s_mount_opt & EXT3_MOUNT_JOURNAL_DATA)
if (test_opt(sb, DATA_FLAGS) == EXT3_MOUNT_JOURNAL_DATA)
seq_puts(seq, ",data=journal");

if (sbi->s_mount_opt & EXT3_MOUNT_ORDERED_DATA)
else if (test_opt(sb, DATA_FLAGS) == EXT3_MOUNT_ORDERED_DATA)
seq_puts(seq, ",data=ordered");

if (sbi->s_mount_opt & EXT3_MOUNT_WRITEBACK_DATA)
else if (test_opt(sb, DATA_FLAGS) == EXT3_MOUNT_WRITEBACK_DATA)
seq_puts(seq, ",data=writeback");

#if defined(CONFIG_QUOTA)
Expand Down

0 comments on commit 305d8a7

Please sign in to comment.