mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 14:35:08 +00:00
Okay let's just not have this broken locking at all right now.
I think I should just protect access to shared data structures and eventually do read/write atomicity locks at the inode level.
This commit is contained in:
parent
e6284a8774
commit
b1ff62f605
7 changed files with 16 additions and 38 deletions
|
@ -104,11 +104,9 @@ public:
|
|||
private:
|
||||
friend class FileHandle;
|
||||
|
||||
String absolutePathInternal(InodeIdentifier, Locker&);
|
||||
|
||||
void enumerateDirectoryInode(InodeIdentifier, Function<bool(const FileSystem::DirectoryEntry&)>);
|
||||
InodeIdentifier resolvePath(const String& path, int& error, Locker&, InodeIdentifier base = InodeIdentifier(), int options = 0);
|
||||
InodeIdentifier resolveSymbolicLink(InodeIdentifier base, InodeIdentifier symlinkInode, int& error, Locker&);
|
||||
InodeIdentifier resolvePath(const String& path, int& error, InodeIdentifier base = InodeIdentifier(), int options = 0);
|
||||
InodeIdentifier resolveSymbolicLink(InodeIdentifier base, InodeIdentifier symlinkInode, int& error);
|
||||
|
||||
RetainPtr<Node> allocateNode();
|
||||
void freeNode(Node*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue