diff options
author | Arnd Bergmann <[email protected]> | 2017-01-18 12:39:21 -0800 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2017-01-18 12:39:21 -0800 |
commit | fd29f7af75b7adf250beccffa63746c6a88e2b74 (patch) | |
tree | 2c5cdbc3fa783c1a4b87ff2f49727f72bcc2a057 /net | |
parent | 657bdfb7f5e68ca5e2ed009ab473c429b0d6af85 (diff) |
xfs: fix xfs_mode_to_ftype() prototype
A harmless warning just got introduced:
fs/xfs/libxfs/xfs_dir2.h:40:8: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
Removing the 'const' modifier avoids the warning and has no
other effect.
Fixes: 1fc4d33fed12 ("xfs: replace xfs_mode_to_ftype table with switch statement")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions