Message ID | 20240412192217.4172554-1-cmirabil@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Re: [PATCH] vfs: relax linkat() AT_EMPTY_PATH - aka flink() - requirements | expand |
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;
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(-)