X-Git-Url: https://git.whamcloud.com/gitweb?a=blobdiff_plain;f=lustre%2Fptlrpc%2Fptlrpcd.c;h=9d29cc7a6e953cf44caeadb064cea774be1d1f36;hb=c92bdd97d99cc755a187987f3d5963adeb3ea475;hp=1f540afd9ff76c0ab16cc5c4602ed5e637fe1afc;hpb=76c3fa96dc30f21e95d80f9119972d7358975258;p=fs%2Flustre-release.git diff --git a/lustre/ptlrpc/ptlrpcd.c b/lustre/ptlrpc/ptlrpcd.c index 1f540af..9d29cc7 100644 --- a/lustre/ptlrpc/ptlrpcd.c +++ b/lustre/ptlrpc/ptlrpcd.c @@ -50,6 +50,7 @@ #define DEBUG_SUBSYSTEM S_RPC +#include #include #include #include @@ -436,6 +437,7 @@ static int ptlrpcd(void *arg) int exit = 0; ENTRY; + unshare_fs_struct(); if (cfs_cpt_bind(cfs_cpt_tab, pc->pc_cpt) != 0) CWARN("Failed to bind %s on CPT %d\n", pc->pc_name, pc->pc_cpt);