Commit 277352b
f2fs: consolidate unsupported option handling errors
When certain build-time options are disabled, some mount options are not
accepted. For quota and compression, all related options are dismissed
with a single error message. For xattr, acl, and fault injection, each
option is handled individually. In addition, inline_xattr_size was missed
when CONFIG_F2FS_FS_XATTR was disabled.
Collapse xattr, acl, and fault injection errors into a single string, for
simplicity, and handle the missing inline_xattr_size case.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>1 parent 64ee750 commit 277352b
1 file changed
Lines changed: 4 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
778 | | - | |
779 | | - | |
780 | 778 | | |
781 | | - | |
782 | | - | |
783 | 779 | | |
784 | | - | |
785 | | - | |
786 | 780 | | |
787 | | - | |
| 781 | + | |
| 782 | + | |
788 | 783 | | |
789 | 784 | | |
790 | 785 | | |
| |||
796 | 791 | | |
797 | 792 | | |
798 | 793 | | |
799 | | - | |
800 | | - | |
801 | 794 | | |
802 | | - | |
| 795 | + | |
803 | 796 | | |
804 | 797 | | |
805 | 798 | | |
| |||
922 | 915 | | |
923 | 916 | | |
924 | 917 | | |
925 | | - | |
926 | | - | |
927 | | - | |
928 | 918 | | |
929 | | - | |
| 919 | + | |
930 | 920 | | |
931 | 921 | | |
932 | 922 | | |
| |||
0 commit comments