| 3754 | } |
| 3755 | |
| 3756 | static struct vnode * |
| 3757 | cache_fpl_handle_root(struct cache_fpl *fpl) |
| 3758 | { |
| 3759 | struct nameidata *ndp; |
| 3760 | struct componentname *cnp; |
| 3761 | |
| 3762 | ndp = fpl->ndp; |
| 3763 | cnp = fpl->cnp; |
| 3764 | |
| 3765 | MPASS(*(cnp->cn_nameptr) == '/'); |
| 3766 | cnp->cn_nameptr++; |
| 3767 | cache_fpl_pathlen_dec(fpl); |
| 3768 | |
| 3769 | if (__predict_false(*(cnp->cn_nameptr) == '/')) { |
| 3770 | do { |
| 3771 | cnp->cn_nameptr++; |
| 3772 | cache_fpl_pathlen_dec(fpl); |
| 3773 | } while (*(cnp->cn_nameptr) == '/'); |
| 3774 | } |
| 3775 | |
| 3776 | return (ndp->ni_rootdir); |
| 3777 | } |
| 3778 | |
| 3779 | static void |
| 3780 | cache_fpl_checkpoint_outer(struct cache_fpl *fpl) |
no test coverage detected