Gregory Nutt
|
3055025e00
rename(): Correct more issues. (1) Move to the root directory in the pseudo file system, (2) Fix path naming calculation when the path is the root directory of a mounted file system, and (3) dont't do the rename if the source and destination of the rename are the same.
|
7 年之前 |
Gregory Nutt
|
e20e9f0fe4
Update a comment
|
7 年之前 |
Gregory Nutt
|
2d11d8f1a4
rename: An inode with no operations should be treated like a directory for the purposes of rename
|
7 年之前 |
Gregory Nutt
|
bd7d3a92f5
Add logic to VFS rename: If target of rename exists and is a directory, then the source file should be moved 'under' the target directory. POSIX also requires that if the target is a file, then that old file must be deleted.
|
7 年之前 |
Gregory Nutt
|
af5a8e73d3
VFS rename: Fix issues with rename to subdirectories and some softlink issues.
|
7 年之前 |
Gregory Nutt
|
45fd98da88
Add macros support that will eventually allow dynamic allocation of strings need to support soft links.
|
7 年之前 |
Gregory Nutt
|
8f2c7198ed
inode_find: Now takes struct inode_desc_s type as input. This was necessary before that structure includes some data storage. It was used within inode_find(), but that means that the life of the data was the life of inode_find(). That data must persist longer. It is now provided by the caller so that the life of the data persists for the entire life of the caller.
|
7 年之前 |
Gregory Nutt
|
0c9935f8ac
FS: Remove inode_find_nofollow. Instead provide a bool nofollow argument to inode_find.
|
7 年之前 |
Gregory Nutt
|
9008308b64
Remove some block comments before empty code sections
|
8 年之前 |
Gregory Nutt
|
0fb035f76b
Standardize some naming in code section comments
|
8 年之前 |
Gregory Nutt
|
0b12dbf95d
Fix some spacing problems
|
9 年之前 |
Gregory Nutt
|
cb9e27c3b0
Standardize naming used for public data and function groupings
|
9 年之前 |
Gregory Nutt
|
cc7130b836
Correct a reference counting error in mq_open()
|
9 年之前 |
Gregory Nutt
|
ae90309b36
Move fs/fs.h to fs/inode/inode.h and some to fs/driver/driver.h
|
10 年之前 |
Gregory Nutt
|
ff73be870e
Move renaming files in fs/. to fs/vfs/. (Don't all belong there)
|
10 年之前 |