diff options
author | Austin Kim <austindh.kim@gmail.com> | 2019-09-05 18:08:50 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-09-05 21:36:12 -0700 |
commit | eb2e99943c5bd528af67516fbd9db0ad15e61611 (patch) | |
tree | 177a10a6580fb2e5ad38d11d049f827e890d1ba8 /fs/tracefs | |
parent | bc56ad8c74b8588685c2875de0df8ab6974828ef (diff) |
xfs: Use WARN_ON_ONCE for bailout mount-operation
If the CONFIG_BUG is enabled, BUG is executed and then system is crashed.
However, the bailout for mount is no longer proceeding.
Using WARN_ON_ONCE rather than BUG can prevent this situation.
Signed-off-by: Austin Kim <austindh.kim@gmail.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/tracefs')
0 files changed, 0 insertions, 0 deletions