diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-03-15 22:58:11 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-04-09 19:20:46 -0400 |
commit | ab1152dd5650d35da6f0f6d3c0cc18f86fdc0725 (patch) | |
tree | 9b659d320d460256823f8ccaf05df39500e279a7 /Documentation/filesystems | |
parent | ce285c267a003acbf607f3540ff71287f82e5282 (diff) | |
download | blackbird-op-linux-ab1152dd5650d35da6f0f6d3c0cc18f86fdc0725.tar.gz blackbird-op-linux-ab1152dd5650d35da6f0f6d3c0cc18f86fdc0725.zip |
unexport d_alloc_pseudo()
No modular uses since introducion of alloc_file_pseudo(),
and the only non-modular user not in alloc_file_pseudo()
had actually been wrong - should've been d_alloc_anon().
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r-- | Documentation/filesystems/porting | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/filesystems/porting b/Documentation/filesystems/porting index a60fa516d4cb..7ed8188e7047 100644 --- a/Documentation/filesystems/porting +++ b/Documentation/filesystems/porting @@ -643,3 +643,8 @@ in your dentry operations instead. DCACHE_RCUACCESS is gone; having an RCU delay on dentry freeing is the default. DCACHE_NORCU opts out, and only d_alloc_pseudo() has any business doing so. +-- +[mandatory] + d_alloc_pseudo() is internal-only; uses outside of alloc_file_pseudo() are + very suspect (and won't work in modules). Such uses are very likely to + be misspelled d_alloc_anon(). |