Skip to content

Commit

Permalink
ufs: fix parenthesisation in ufs_set_fs_state()
Browse files Browse the repository at this point in the history
This bug snuck in with

commit 252e211
Author: Mark Fortescue <[email protected]>
Date:   Tue Oct 16 23:26:31 2007 -0700

    Add in SunOS 4.1.x compatible mode for UFS

Signed-off-by: Roel Kluin <[email protected]>
Acked-by: Evgeniy Dushistov <[email protected]>
Cc: Mark Fortescue <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Roel Kluin authored and Linus Torvalds committed Feb 24, 2008
1 parent 55a26ae commit f81e8a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ufs/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ ufs_set_fs_state(struct super_block *sb, struct ufs_super_block_first *usb1,
{
switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) {
case UFS_ST_SUNOS:
if (fs32_to_cpu(sb, usb3->fs_postblformat == UFS_42POSTBLFMT)) {
if (fs32_to_cpu(sb, usb3->fs_postblformat) == UFS_42POSTBLFMT) {
usb1->fs_u0.fs_sun.fs_state = cpu_to_fs32(sb, value);
break;
}
Expand Down

0 comments on commit f81e8a4

Please sign in to comment.