From 5a9e7f5eafd21360a5bbf9edc0dbd1620b6fc854 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Mon, 22 Nov 2021 09:47:03 +0100 Subject: fs: remove useless AT_FDCWD references All name lookups by barebox are AT_FDCWD and there are no dirfd support that could be used in its place, so just remove that parameter altogether from the FS functions. Signed-off-by: Ahmad Fatoum Link: https://lore.barebox.org/20211122084732.2597109-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer --- include/linux/namei.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') diff --git a/include/linux/namei.h b/include/linux/namei.h index 8ed7f8a1cd..9f6e568591 100644 --- a/include/linux/namei.h +++ b/include/linux/namei.h @@ -45,8 +45,4 @@ enum {LAST_NORM, LAST_ROOT, LAST_DOT, LAST_DOTDOT, LAST_BIND}; #define LOOKUP_EMPTY 0x4000 #define LOOKUP_DOWN 0x8000 -#define AT_FDCWD -100 /* Special value used to indicate - openat should use the current - working directory. */ - #endif /* _LINUX_NAMEI_H */ -- cgit v1.2.3