Commit d18516a
statmount: clean up unescaped option handling
Move common code from opt_array/opt_sec_array to helper. This helper
does more than just unescape options, so rename to
statmount_opt_process().
Handle corner case of just a single character in options.
Rename some local variables to better describe their function.
Signed-off-by: Miklos Szeredi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>1 parent b3e2963 commit d18516a
1 file changed
+19
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5057 | 5057 | | |
5058 | 5058 | | |
5059 | 5059 | | |
5060 | | - | |
| 5060 | + | |
5061 | 5061 | | |
5062 | | - | |
| 5062 | + | |
5063 | 5063 | | |
5064 | 5064 | | |
| 5065 | + | |
| 5066 | + | |
| 5067 | + | |
5065 | 5068 | | |
| 5069 | + | |
| 5070 | + | |
| 5071 | + | |
| 5072 | + | |
| 5073 | + | |
| 5074 | + | |
| 5075 | + | |
| 5076 | + | |
5066 | 5077 | | |
5067 | | - | |
5068 | | - | |
| 5078 | + | |
| 5079 | + | |
5069 | 5080 | | |
5070 | | - | |
| 5081 | + | |
5071 | 5082 | | |
5072 | 5083 | | |
5073 | 5084 | | |
5074 | | - | |
| 5085 | + | |
5075 | 5086 | | |
5076 | 5087 | | |
5077 | 5088 | | |
| |||
5080 | 5091 | | |
5081 | 5092 | | |
5082 | 5093 | | |
5083 | | - | |
5084 | 5094 | | |
5085 | 5095 | | |
5086 | 5096 | | |
5087 | 5097 | | |
5088 | 5098 | | |
5089 | | - | |
5090 | 5099 | | |
5091 | 5100 | | |
5092 | 5101 | | |
5093 | 5102 | | |
5094 | | - | |
5095 | | - | |
5096 | | - | |
5097 | | - | |
5098 | | - | |
5099 | | - | |
5100 | | - | |
| 5103 | + | |
5101 | 5104 | | |
5102 | 5105 | | |
5103 | 5106 | | |
| |||
5110 | 5113 | | |
5111 | 5114 | | |
5112 | 5115 | | |
5113 | | - | |
5114 | 5116 | | |
5115 | 5117 | | |
5116 | | - | |
5117 | | - | |
5118 | 5118 | | |
5119 | 5119 | | |
5120 | 5120 | | |
5121 | 5121 | | |
5122 | | - | |
5123 | | - | |
5124 | | - | |
5125 | | - | |
5126 | | - | |
5127 | | - | |
5128 | | - | |
| 5122 | + | |
5129 | 5123 | | |
5130 | 5124 | | |
5131 | 5125 | | |
| |||
0 commit comments