]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/sunrpc/rpc_pipe.c
x86/speculation/l1tf: Protect PAE swap entries against L1TF
[mirror_ubuntu-bionic-kernel.git] / net / sunrpc / rpc_pipe.c
index 7803f3b6aa53d8c1d798bd6be208f6aa73f4ec78..17d9d3e8e8d0086fd8ff0776c8d9a8acd2b1f7e0 100644 (file)
@@ -1375,6 +1375,7 @@ rpc_gssd_dummy_depopulate(struct dentry *pipe_dentry)
        struct dentry *clnt_dir = pipe_dentry->d_parent;
        struct dentry *gssd_dir = clnt_dir->d_parent;
 
+       dget(pipe_dentry);
        __rpc_rmpipe(d_inode(clnt_dir), pipe_dentry);
        __rpc_depopulate(clnt_dir, gssd_dummy_info_file, 0, 1);
        __rpc_depopulate(gssd_dir, gssd_dummy_clnt_dir, 0, 1);