aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Fertman <vitaly@namesys.com>2006-01-19 23:06:01 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-30 22:13:18 -0800
commitd1753372c3c16c9cfb88bed7f0278091187053f3 (patch)
tree6489d62131d0d6e362e547247fd2320a900a706b
parent5fa8ad644faa114c4190484ac50e15236fc7cdd9 (diff)
downloadlinux-linaro-stable-d1753372c3c16c9cfb88bed7f0278091187053f3.tar.gz
[PATCH] Someone broke reiserfs v3 mount options and this fixes it
Signed-off-by: Hans Reiser <reiser@namesys.com> Signed-off-by: Vitaly Fertman <vitaly@namesys.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--fs/reiserfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c
index 42afb5bef111..9c38f10d59c6 100644
--- a/fs/reiserfs/super.c
+++ b/fs/reiserfs/super.c
@@ -1131,7 +1131,7 @@ static void handle_attrs(struct super_block *s)
REISERFS_SB(s)->s_mount_opt &= ~(1 << REISERFS_ATTRS);
}
} else if (le32_to_cpu(rs->s_flags) & reiserfs_attrs_cleared) {
- REISERFS_SB(s)->s_mount_opt |= REISERFS_ATTRS;
+ REISERFS_SB(s)->s_mount_opt |= (1 << REISERFS_ATTRS);
}
}