[PATCH] Re: [PATCH] vfs: relax linkat() AT_EMPTY_PATH - aka flink() - requirements

Charles Mirabile posted 1 patch 1 year, 10 months ago
fs/namei.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] Re: [PATCH] vfs: relax linkat() AT_EMPTY_PATH - aka flink() - requirements
Posted by Charles Mirabile 1 year, 10 months ago
this is a nitpic, but if you are going to touch the comment on
line 4654 I think you should fix the spelling mistake :^)
handlink -> hard link

Signed-off-by: Charles Mirabile <cmirabil@redhat.com>
---
 fs/namei.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/namei.c b/fs/namei.c
index 6d5b3f0d6ad3..9b806b108ed0 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -4651,7 +4651,7 @@ int do_linkat(int olddfd, struct filename *old, int newdfd,
 	 * To use null names we require CAP_DAC_READ_SEARCH or
 	 * that the open-time creds of the dfd matches current.
 	 * This ensures that not everyone will be able to create
-	 * handlink using the passed file descriptor.
+	 * hard links using the passed file descriptor.
 	 */
 	if (flags & AT_EMPTY_PATH)
 		how |= LOOKUP_LINKAT_EMPTY;
-- 
2.44.0