Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

vfs: fix new kernel-doc warnings

Move kernel-doc notation to immediately before its function to eliminate
kernel-doc warnings introduced by commit db14fc3abcd5 ("vfs: add
d_walk()")

Warning(fs/dcache.c:1343): No description found for parameter 'data'
Warning(fs/dcache.c:1343): No description found for parameter 'dentry'
Warning(fs/dcache.c:1343): Excess function parameter 'parent' description in 'check_mount'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Miklos Szeredi <mszeredi@suse.cz>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Randy Dunlap and committed by
Linus Torvalds
69c88dc7 606d6fe3

+7 -8
+7 -8
fs/dcache.c
··· 1331 1331 * list is non-empty and continue searching. 1332 1332 */ 1333 1333 1334 - /** 1335 - * have_submounts - check for mounts over a dentry 1336 - * @parent: dentry to check. 1337 - * 1338 - * Return true if the parent or its subdirectories contain 1339 - * a mount point 1340 - */ 1341 - 1342 1334 static enum d_walk_ret check_mount(void *data, struct dentry *dentry) 1343 1335 { 1344 1336 int *ret = data; ··· 1341 1349 return D_WALK_CONTINUE; 1342 1350 } 1343 1351 1352 + /** 1353 + * have_submounts - check for mounts over a dentry 1354 + * @parent: dentry to check. 1355 + * 1356 + * Return true if the parent or its subdirectories contain 1357 + * a mount point 1358 + */ 1344 1359 int have_submounts(struct dentry *parent) 1345 1360 { 1346 1361 int ret = 0;