vfs: Define symlink as link
specified here: https://pubs.opengroup.org/onlinepubs/009695399/functions/symlink.html yes, symlink is different from link: 1.symlink create the soft(symbolic) link 2.link create the hard link but it is suitable to make them same now since vfs doesn't support the hard link and the soft link in file system level yet. Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I3b6e311cc1c826542165c9d93cbe5e078f113684
This commit is contained in:
parent
b598ab43d7
commit
0b891d60f9
1 changed files with 1 additions and 0 deletions
|
@ -268,6 +268,7 @@
|
|||
|
||||
/* Helpers and legacy compatibility definitions */
|
||||
|
||||
#define symlink(p1, p2) link((p1), (p2))
|
||||
#define fdatasync(f) fsync(f)
|
||||
#define getdtablesize(f) ((int)sysconf(_SC_OPEN_MAX))
|
||||
|
||||
|
|
Loading…
Reference in a new issue