Skip to content

Commit

Permalink
[XFS] Fix an inode32 regression - if no options are presented, must s…
Browse files Browse the repository at this point in the history
…till

set default flags.

SGI-PV: 945242
SGI-Modid: xfs-linux-melb:xfs-kern:24292a

Signed-off-by: Nathan Scott <[email protected]>
  • Loading branch information
natoscott committed Nov 3, 2005
1 parent 992c83a commit 05db218
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/xfs/xfs_vfsops.c
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,7 @@ xfs_parseargs(
#endif

if (!options)
return 0;
goto done;

iosize = dsunit = dswidth = vol_dsunit = vol_dswidth = 0;

Expand Down Expand Up @@ -1867,9 +1867,9 @@ printk("XFS: irixsgid is now a sysctl(2) variable, option is deprecated.\n");
args->sunit = args->swidth = 0;
}

done:
if (args->flags & XFSMNT_32BITINODES)
vfsp->vfs_flag |= VFS_32BITINODES;

if (args->flags2)
args->flags |= XFSMNT_FLAGS2;
return 0;
Expand Down

0 comments on commit 05db218

Please sign in to comment.