Erez Zadok wrote:
> [...]
> (2) Inline functions moved from linux/{fs,mm}/*.c to header files so they
> can be included in the same original source code as well as stackable
> file systems:
>
> check_parent macro (fs/namei.c -> include/linux/dcache_func.h)
> lock_parent (fs/namei.c -> include/linux/dcache_func.h)
> get_parent (fs/namei.c -> include/linux/dcache_func.h)
> unlock_dir (fs/namei.c -> include/linux/dcache_func.h)
> double_lock (fs/namei.c -> include/linux/dcache_func.h)
> double_unlock (fs/namei.c -> include/linux/dcache_func.h)
>
That sounds like a good idea: fs/nfsd/vfs.c currently contains copies of
most of these functions...
--
Manfred