Commit 3a6ffeb
committed
Merge patch series "fs: allow statmount to fetch the fs_subtype and sb_source"
Jeff Layton <jlayton@kernel.org> says:
Meta has some internal logging that scrapes /proc/self/mountinfo today.
I'd like to convert it to use listmount()/statmount(), so we can do a
better job of monitoring with containers. We're missing some fields
though. This patchset adds them.
* patches from https://lore.kernel.org/r/20241111-statmount-v4-0-2eaf35d07a80@kernel.org:
fs: add the ability for statmount() to report the sb_source
fs: add the ability for statmount() to report the fs_subtype
fs: don't let statmount return empty strings
Link: https://lore.kernel.org/r/20241111-statmount-v4-0-2eaf35d07a80@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>2 files changed
+67
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5004 | 5004 | | |
5005 | 5005 | | |
5006 | 5006 | | |
| 5007 | + | |
| 5008 | + | |
| 5009 | + | |
| 5010 | + | |
| 5011 | + | |
| 5012 | + | |
| 5013 | + | |
| 5014 | + | |
| 5015 | + | |
| 5016 | + | |
| 5017 | + | |
| 5018 | + | |
| 5019 | + | |
| 5020 | + | |
| 5021 | + | |
| 5022 | + | |
| 5023 | + | |
| 5024 | + | |
| 5025 | + | |
| 5026 | + | |
| 5027 | + | |
| 5028 | + | |
| 5029 | + | |
| 5030 | + | |
| 5031 | + | |
| 5032 | + | |
| 5033 | + | |
| 5034 | + | |
| 5035 | + | |
| 5036 | + | |
| 5037 | + | |
| 5038 | + | |
| 5039 | + | |
| 5040 | + | |
5007 | 5041 | | |
5008 | 5042 | | |
5009 | 5043 | | |
| |||
5040 | 5074 | | |
5041 | 5075 | | |
5042 | 5076 | | |
5043 | | - | |
| 5077 | + | |
5044 | 5078 | | |
5045 | 5079 | | |
5046 | 5080 | | |
| 5081 | + | |
5047 | 5082 | | |
5048 | 5083 | | |
5049 | 5084 | | |
5050 | | - | |
| 5085 | + | |
5051 | 5086 | | |
5052 | 5087 | | |
5053 | 5088 | | |
5054 | | - | |
| 5089 | + | |
5055 | 5090 | | |
5056 | 5091 | | |
5057 | 5092 | | |
5058 | | - | |
| 5093 | + | |
5059 | 5094 | | |
5060 | 5095 | | |
5061 | 5096 | | |
5062 | | - | |
| 5097 | + | |
5063 | 5098 | | |
5064 | 5099 | | |
| 5100 | + | |
| 5101 | + | |
| 5102 | + | |
| 5103 | + | |
| 5104 | + | |
| 5105 | + | |
| 5106 | + | |
| 5107 | + | |
5065 | 5108 | | |
5066 | 5109 | | |
5067 | 5110 | | |
5068 | 5111 | | |
5069 | 5112 | | |
| 5113 | + | |
| 5114 | + | |
| 5115 | + | |
| 5116 | + | |
| 5117 | + | |
| 5118 | + | |
5070 | 5119 | | |
5071 | 5120 | | |
5072 | 5121 | | |
| |||
5201 | 5250 | | |
5202 | 5251 | | |
5203 | 5252 | | |
| 5253 | + | |
| 5254 | + | |
| 5255 | + | |
| 5256 | + | |
| 5257 | + | |
| 5258 | + | |
5204 | 5259 | | |
5205 | 5260 | | |
5206 | 5261 | | |
| |||
5222 | 5277 | | |
5223 | 5278 | | |
5224 | 5279 | | |
5225 | | - | |
| 5280 | + | |
| 5281 | + | |
5226 | 5282 | | |
5227 | 5283 | | |
5228 | 5284 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
| |||
207 | 209 | | |
208 | 210 | | |
209 | 211 | | |
| 212 | + | |
| 213 | + | |
210 | 214 | | |
211 | 215 | | |
212 | 216 | | |
| |||
0 commit comments