diff options
author | Jie Liu <[email protected]> | 2013-05-02 19:27:47 +0800 |
---|---|---|
committer | Ben Myers <[email protected]> | 2013-06-19 14:54:17 -0500 |
commit | 39a45d8463d98ea57347b871641136be64b216a9 (patch) | |
tree | 7184b8d6abaec378fc41d007fe45dc1abfce99e5 /lib/mpi/mpi-bit.c | |
parent | 2fb8b5027dbde32a45edf5f3d7ee082be9261d93 (diff) |
xfs: Remove XFS_MOUNT_RETERR
XFS_MOUNT_RETERR is going to be set at xfs_parseargs() if
mp->m_dalign is enabled, so any time we enter "if (mp->m_dalign)"
branch in xfs_update_alignment(), XFS_MOUNT_RETERR is set and so
we always be emitting a warning and returning an error.
Hence, we can remove it and get rid of a couple of redundant
check up against it at xfs_upate_alignment().
Thanks Dave Chinner for the suggestions of simplify the code
in xfs_parseargs().
Signed-off-by: Jie Liu <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Mark Tinguely <[email protected]>
Reviewed-by: Mark Tinguely <[email protected]>
Signed-off-by: Ben Myers <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions