diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-11-22 09:47:03 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-11-25 08:42:49 +0100 |
commit | 5a9e7f5eafd21360a5bbf9edc0dbd1620b6fc854 (patch) | |
tree | 76490770749a87a8af5bd81d7bc224c163df1f41 /include | |
parent | 9d90cd0274bce967a11e790c424530e6393be2a6 (diff) | |
download | barebox-5a9e7f5eafd21360a5bbf9edc0dbd1620b6fc854.tar.gz barebox-5a9e7f5eafd21360a5bbf9edc0dbd1620b6fc854.tar.xz |
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 <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20211122084732.2597109-2-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/namei.h | 4 |
1 files changed, 0 insertions, 4 deletions
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 */ |