mirror of https://gitee.com/openkylin/linux.git
fs: fix new dcache.c kernel-doc warnings
Fix new fs/dcache.c kernel-doc warnings: Warning(fs/dcache.c:184): No description found for parameter 'dentry' Warning(fs/dcache.c:296): No description found for parameter 'parent' Warning(fs/dcache.c:1985): No description found for parameter 'dparent' Warning(fs/dcache.c:1985): Excess function parameter 'parent' description in 'd_validate' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Cc: Nick Piggin <npiggin@kernel.dk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
9b310acc33
commit
ff5fdb6149
|
@ -176,6 +176,7 @@ static void d_free(struct dentry *dentry)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* dentry_rcuwalk_barrier - invalidate in-progress rcu-walk lookups
|
* dentry_rcuwalk_barrier - invalidate in-progress rcu-walk lookups
|
||||||
|
* @dentry: the target dentry
|
||||||
* After this call, in-progress rcu-walk path lookup will fail. This
|
* After this call, in-progress rcu-walk path lookup will fail. This
|
||||||
* should be called after unhashing, and after changing d_inode (if
|
* should be called after unhashing, and after changing d_inode (if
|
||||||
* the dentry has not already been unhashed).
|
* the dentry has not already been unhashed).
|
||||||
|
@ -281,6 +282,7 @@ static void dentry_lru_move_tail(struct dentry *dentry)
|
||||||
/**
|
/**
|
||||||
* d_kill - kill dentry and return parent
|
* d_kill - kill dentry and return parent
|
||||||
* @dentry: dentry to kill
|
* @dentry: dentry to kill
|
||||||
|
* @parent: parent dentry
|
||||||
*
|
*
|
||||||
* The dentry must already be unhashed and removed from the LRU.
|
* The dentry must already be unhashed and removed from the LRU.
|
||||||
*
|
*
|
||||||
|
@ -1973,7 +1975,7 @@ struct dentry *d_hash_and_lookup(struct dentry *dir, struct qstr *name)
|
||||||
/**
|
/**
|
||||||
* d_validate - verify dentry provided from insecure source (deprecated)
|
* d_validate - verify dentry provided from insecure source (deprecated)
|
||||||
* @dentry: The dentry alleged to be valid child of @dparent
|
* @dentry: The dentry alleged to be valid child of @dparent
|
||||||
* @parent: The parent dentry (known to be valid)
|
* @dparent: The parent dentry (known to be valid)
|
||||||
*
|
*
|
||||||
* An insecure source has sent us a dentry, here we verify it and dget() it.
|
* An insecure source has sent us a dentry, here we verify it and dget() it.
|
||||||
* This is used by ncpfs in its readdir implementation.
|
* This is used by ncpfs in its readdir implementation.
|
||||||
|
|
Loading…
Reference in New Issue