#
fc12af74 |
|
26-Apr-2023 |
John Scipione <jscipione@gmail.com> |
netfs: Restore status_t result, fix build result is being used on VisitReadQueryRequest(). It was not being used on ProcessQueryEvent() though so leave that off still. Change-Id: I8fbfbb3edef6ff962237f696fe315b66900b4376
|
#
7b3bfaf3 |
|
23-Apr-2023 |
mbrumbelow <mbrumbelow@mac.com> |
netfs: Removed 'result' variable Return B_NO_MEMORY on error creating volumeIDs object in VisitReadQueryRequest() and return nothing on error in ProcessQueryEvent() because the method's return value is void. Change-Id: I23c6f12258a702b6ffff667639e01fdbac928d6d Reviewed-on: https://review.haiku-os.org/c/haiku/+/6371 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
711e2dc0 |
|
01-Dec-2021 |
Augustin Cavalier <waddlesplash@gmail.com> |
Adjust all struct dirent creations (again), this time to use offsetof(). The dirent struct is not packed, so offsetof(dirent, d_name) != sizeof(dirent). Thus in order not to waste the alignment bytes (which are significant, on x86_64 at least, sizeof(dirent)==32, but offsetof(...)=26.) This is also the most portable way to handle things, and should work just fine in cross-platform code that has a non-zero-sized d_name.
|
#
ebb21bd1 |
|
21-Oct-2020 |
Murai Takashi <tmurai01@gmail.com> |
file_systems/netfs: Fix -Wformat= Change-Id: I291900a38cedf6b0bf6b61e55256ba60bff7935d Reviewed-on: https://review.haiku-os.org/c/haiku/+/3349 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
a9e97bc0 |
|
27-Dec-2019 |
Zotyamester <szatmary.zoltan1222@gmail.com> |
Remove 'always true' if statements (PVS 547) Change-Id: I8d50e0ca48b48e4ce5091efee65949c6d65099a3 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2057 Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
|
#
59ecfa6c |
|
18-Nov-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
netfs: Fix and enable on 64-bit.
|
#
f5abc4c0 |
|
19-Apr-2015 |
Murai Takashi <tmurai01@gmail.com> |
Fix GCC 4.9 maybe-uninitialized warning. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
|
#
367ea4bd |
|
17-Nov-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
netfs: Fix build for gcc4.
|
#
3c1afd35 |
|
07-Apr-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
Fix #8420: NetFS does not compile with DEBUG Debug macros like PRINT, ERROR, etc. are defined differently in NetFS and UserlandFS. In NetFS they use single parentheses while in UserlandFS double parentheses are required. Somehow this got mixed up in NetFS and there were both styles of calling these macros what caused the incorrect one to produce compilation errors. Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
|
#
8c3c1172 |
|
10-Jun-2011 |
Rene Gollent <anevilyak@gmail.com> |
Adjust ReleaseReference() to also return the previous ref count as AcquireReference() now does, and adjust all callers that relied on the previous return type. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42091 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
88e38c17 |
|
16-Dec-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Replace uses of obsolescent BReference[able] API. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39870 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cee04e80 |
|
08-Feb-2010 |
Artur Wyszynski <aljen-mlists@o2.pl> |
Fixed various errors/warnings reported by cppcheck: * memory leaks * resource leaks * added const's to getters * removed a few reundant conditions git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35433 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5a1d355f |
|
14-Jan-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Copied Ingo's netfs from the dark pit in which it was forgotten to something more visible and ported it to the current UserlandFS server (and GCC4). It still uses the R5 file system API, which the UserlandFS conveniently still provides support for. It compiles and links, but is otherwise still untested. The changes I am alsmost confident that I didn't change any semantics. That is unless HashMap, HashString and DoublyLinkedList work differently enough to make any of the netfs code break. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35081 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f5abc4c08ddfa2a7fce323189fb278344da79a0f |
|
19-Apr-2015 |
Murai Takashi <tmurai01@gmail.com> |
Fix GCC 4.9 maybe-uninitialized warning. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
|
#
367ea4bd57f998a6519ec8f853754b3924e00e0f |
|
17-Nov-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
netfs: Fix build for gcc4.
|
#
3c1afd351de98914fd14718db05eb5f3d2a817f8 |
|
07-Apr-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
Fix #8420: NetFS does not compile with DEBUG Debug macros like PRINT, ERROR, etc. are defined differently in NetFS and UserlandFS. In NetFS they use single parentheses while in UserlandFS double parentheses are required. Somehow this got mixed up in NetFS and there were both styles of calling these macros what caused the incorrect one to produce compilation errors. Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
|
#
8c3c1172011e71f591060f73e460f45a717a4e31 |
|
10-Jun-2011 |
Rene Gollent <anevilyak@gmail.com> |
Adjust ReleaseReference() to also return the previous ref count as AcquireReference() now does, and adjust all callers that relied on the previous return type. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42091 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
88e38c178a96634d52920e2de8bb3cbd49869f93 |
|
16-Dec-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Replace uses of obsolescent BReference[able] API. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39870 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cee04e8074ec61fd8c6dac3539c5b821c3618888 |
|
08-Feb-2010 |
Artur Wyszynski <aljen-mlists@o2.pl> |
Fixed various errors/warnings reported by cppcheck: * memory leaks * resource leaks * added const's to getters * removed a few reundant conditions git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35433 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5a1d355fdf2747f80f8c46e2539f844a0b813346 |
|
14-Jan-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Copied Ingo's netfs from the dark pit in which it was forgotten to something more visible and ported it to the current UserlandFS server (and GCC4). It still uses the R5 file system API, which the UserlandFS conveniently still provides support for. It compiles and links, but is otherwise still untested. The changes I am alsmost confident that I didn't change any semantics. That is unless HashMap, HashString and DoublyLinkedList work differently enough to make any of the netfs code break. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35081 a95241bf-73f2-0310-859d-f6bbb57e9c96
|