Skip to content

Commit 27ef523

Browse files
Yang Lirichardweinberger
authored andcommitted
ubifs: Fix ubifs_check_dir_empty() kernel-doc comment
Fix function name in fs/ubifs/dir.c kernel-doc comment to remove warning found by running scripts/kernel-doc, which is caused by using 'make W=1'. fs/ubifs/dir.c:883: warning: expecting prototype for check_dir_empty(). Prototype was for ubifs_check_dir_empty() instead Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Richard Weinberger <richard@nod.at>
1 parent 521a547 commit 27ef523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/ubifs/dir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ static int ubifs_unlink(struct inode *dir, struct dentry *dentry)
872872
}
873873

874874
/**
875-
* check_dir_empty - check if a directory is empty or not.
875+
* ubifs_check_dir_empty - check if a directory is empty or not.
876876
* @dir: VFS inode object of the directory to check
877877
*
878878
* This function checks if directory @dir is empty. Returns zero if the

0 commit comments

Comments
 (0)