Style fixes.

This commit is contained in:
Adrien Destugues
2014-12-22 15:09:50 +01:00
parent 207212972e
commit 92cc6a0f43
@@ -66,6 +66,7 @@ notify_entry_created(dev_t device, ino_t directory, const char *name,
directory, node, NULL, name); directory, node, NULL, name);
} }
// notify_entry_removed // notify_entry_removed
status_t status_t
notify_entry_removed(dev_t device, ino_t directory, const char *name, notify_entry_removed(dev_t device, ino_t directory, const char *name,
@@ -78,6 +79,7 @@ notify_entry_removed(dev_t device, ino_t directory, const char *name,
directory, node, NULL, name); directory, node, NULL, name);
} }
// notify_entry_moved // notify_entry_moved
status_t status_t
notify_entry_moved(dev_t device, ino_t fromDirectory, notify_entry_moved(dev_t device, ino_t fromDirectory,
@@ -91,6 +93,7 @@ notify_entry_moved(dev_t device, ino_t fromDirectory,
fromDirectory, toDirectory, node, fromName, toName); fromDirectory, toDirectory, node, fromName, toName);
} }
// notify_stat_changed // notify_stat_changed
status_t status_t
notify_stat_changed(dev_t device, ino_t node, uint32 statFields) notify_stat_changed(dev_t device, ino_t node, uint32 statFields)
@@ -99,6 +102,7 @@ notify_stat_changed(dev_t device, ino_t node, uint32 statFields)
device, 0, 0, node, NULL, NULL); device, 0, 0, node, NULL, NULL);
} }
// notify_attribute_changed // notify_attribute_changed
status_t status_t
notify_attribute_changed(dev_t device, ino_t node, const char *attribute, notify_attribute_changed(dev_t device, ino_t node, const char *attribute,
@@ -111,6 +115,7 @@ notify_attribute_changed(dev_t device, ino_t node, const char *attribute,
device, 0, 0, node, NULL, attribute); device, 0, 0, node, NULL, attribute);
} }
// notify_select_event // notify_select_event
status_t status_t
notify_select_event(selectsync *sync, uint8 event) notify_select_event(selectsync *sync, uint8 event)
@@ -118,6 +123,7 @@ notify_select_event(selectsync *sync, uint8 event)
return UserlandFS::KernelEmu::notify_select_event(sync, event, false); return UserlandFS::KernelEmu::notify_select_event(sync, event, false);
} }
// notify_query_entry_created // notify_query_entry_created
status_t status_t
notify_query_entry_created(port_id port, int32 token, dev_t device, notify_query_entry_created(port_id port, int32 token, dev_t device,
@@ -130,6 +136,7 @@ notify_query_entry_created(port_id port, int32 token, dev_t device,
device, directory, name, node); device, directory, name, node);
} }
// notify_query_entry_removed // notify_query_entry_removed
status_t status_t
notify_query_entry_removed(port_id port, int32 token, dev_t device, notify_query_entry_removed(port_id port, int32 token, dev_t device,
@@ -168,6 +175,7 @@ new_vnode(fs_volume *_volume, ino_t vnodeID, void *privateNode,
return error; return error;
} }
// publish_vnode // publish_vnode
status_t status_t
publish_vnode(fs_volume *_volume, ino_t vnodeID, void *privateNode, publish_vnode(fs_volume *_volume, ino_t vnodeID, void *privateNode,
@@ -191,6 +199,7 @@ publish_vnode(fs_volume *_volume, ino_t vnodeID, void *privateNode,
return error; return error;
} }
// get_vnode // get_vnode
status_t status_t
get_vnode(fs_volume *_volume, ino_t vnodeID, void **privateNode) get_vnode(fs_volume *_volume, ino_t vnodeID, void **privateNode)
@@ -204,12 +213,13 @@ get_vnode(fs_volume *_volume, ino_t vnodeID, void **privateNode)
if (error != B_OK) if (error != B_OK)
return error; return error;
if (privateNode) if (privateNode != NULL)
*privateNode = ((HaikuKernelNode*)foundNode)->private_node; *privateNode = ((HaikuKernelNode*)foundNode)->private_node;
return B_OK; return B_OK;
} }
// put_vnode // put_vnode
status_t status_t
put_vnode(fs_volume *_volume, ino_t vnodeID) put_vnode(fs_volume *_volume, ino_t vnodeID)
@@ -219,6 +229,7 @@ put_vnode(fs_volume *_volume, ino_t vnodeID)
return UserlandFS::KernelEmu::put_vnode(volume->GetID(), vnodeID); return UserlandFS::KernelEmu::put_vnode(volume->GetID(), vnodeID);
} }
// acquire_vnode // acquire_vnode
status_t status_t
acquire_vnode(fs_volume *_volume, ino_t vnodeID) acquire_vnode(fs_volume *_volume, ino_t vnodeID)
@@ -228,6 +239,7 @@ acquire_vnode(fs_volume *_volume, ino_t vnodeID)
return UserlandFS::KernelEmu::acquire_vnode(volume->GetID(), vnodeID); return UserlandFS::KernelEmu::acquire_vnode(volume->GetID(), vnodeID);
} }
// remove_vnode // remove_vnode
status_t status_t
remove_vnode(fs_volume *_volume, ino_t vnodeID) remove_vnode(fs_volume *_volume, ino_t vnodeID)
@@ -237,6 +249,7 @@ remove_vnode(fs_volume *_volume, ino_t vnodeID)
return UserlandFS::KernelEmu::remove_vnode(volume->GetID(), vnodeID); return UserlandFS::KernelEmu::remove_vnode(volume->GetID(), vnodeID);
} }
// unremove_vnode // unremove_vnode
status_t status_t
unremove_vnode(fs_volume *_volume, ino_t vnodeID) unremove_vnode(fs_volume *_volume, ino_t vnodeID)
@@ -246,6 +259,7 @@ unremove_vnode(fs_volume *_volume, ino_t vnodeID)
return UserlandFS::KernelEmu::unremove_vnode(volume->GetID(), vnodeID); return UserlandFS::KernelEmu::unremove_vnode(volume->GetID(), vnodeID);
} }
// get_vnode_removed // get_vnode_removed
status_t status_t
get_vnode_removed(fs_volume *_volume, ino_t vnodeID, bool* removed) get_vnode_removed(fs_volume *_volume, ino_t vnodeID, bool* removed)
@@ -256,6 +270,7 @@ get_vnode_removed(fs_volume *_volume, ino_t vnodeID, bool* removed)
removed); removed);
} }
// volume_for_vnode // volume_for_vnode
fs_volume* fs_volume*
volume_for_vnode(fs_vnode *vnode) volume_for_vnode(fs_vnode *vnode)