Junctions should inherit parent's export options
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | mountd: Warn when a broken junction is encounteredutils/ | +14 | 0 replies | |
| 2/8 | mountd: Use static buffer when constructing junction export optionsutils/ | +5 | 0 replies | |
| 3/8 | mountd: Set e_fslocdata field directlyutils/ | +23 | 0 replies | |
| 4/8 | mountd: Add lookup_export_parent()utils/ | +70 | 0 replies | |
| 5/8 | mountd: Junctions inherit parent export's optionsutils/ | +35 | 0 replies | |
| 6/8 | mountd: Add exportent_release()support/ support/ | +13 | 0 replies | |
| 7/8 | mountd: Dynamically allocate exportent that represents junctionsutils/ | +31 | 0 replies | |
| 8/8 | mountd: Simplify "no junction support" caseutils/ | +19 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] Junctions should inherit parent's export options
Following suggestions by Steve and Bruce, I've at long last implemented a mechanism by which junctions inherit the export options of their parent exports.
While I was there, I took the opportunity to clean up the junction resolution logic.
---
Chuck Lever (8):
mountd: Simplify "no junction support" case
mountd: Dynamically allocate exportent that represents junctions
mountd: Add exportent_release()
mountd: Junctions inherit parent export's options
mountd: Add lookup_export_parent()
mountd: Set e_fslocdata field directly
mountd: Use static buffer when constructing junction export options
mountd: Warn when a broken junction is encountered
support/export/export.c | 19 ++-- support/include/exportfs.h | 1 utils/mountd/cache.c | 217 ++++++++++++++++++++++++++++++-------------- 3 files changed, 162 insertions(+), 75 deletions(-)
Signature · 1 line
Chuck Lever