History log of /haiku/src/add-ons/kernel/file_systems/fat/iter.h
Revision Date Author Comments
# 7c09ef12 28-Feb-2022 Alexander G. M. Smith <agmsmith@ncf.ca>

FAT: Fix 32 bit gcc2 compile.

You can't initialize struct fields in the declaration in gcc2, but you
can set them up in a constructor. So made one for struct diri,
and initialize nested sub-structures too.

Change-Id: Ic8b824bc157cca4cdb8c4e41afdca596776c0d55
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4995
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 8896f5d7 15-Nov-2021 Augustin Cavalier <waddlesplash@gmail.com>

FAT: Make more use of C++ features and utility classes.

This driver was fully C until relatively recently, when it was
switched to C++ so that it could be used with fs_shell. However,
it still is mostly using C paradigms; so this commit begins the
refactor away from that.

If I did this correctly, there should not be any functional change.

Change-Id: Id87d17b2e019ccdd1c7f07156cfe2a2124496675
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4725
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 9f3ba01b 28-Dec-2020 Alexander von Gluck IV <kallisti5@unixzen.com>

file_system/fat: Rework driver for fs_shell support

* Introduce fat_shell for build system fat manipulation
* Will theoretically let us do away with mtools when we
have another internal tool for partition manipulation

Change-Id: I661be556e79009842f157a9402c8f85da85d6336
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3556
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 3f1684d9 29-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

* Removed the superfluous "magic" stuff - if structures are broken, then please
let it crash!
* Made some headers self-contained.
* Always lock, regardless of "reenter" (we're using a recursive lock, so this
doesn't matter at all).
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31913 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 152d6bdc 27-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

* Replaced diri_mark_dirty() with a diri_make_writable(), and fixed its usage
throughout the code.
* Got rid of the transactions - they weren't really used, and thus only created
unnecessary overhead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31836 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 42cd7306 26-Sep-2007 Axel Dörfler <axeld@pinc-software.de>

Renamed "dos" file system to "fat".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22316 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3f1684d92cbcc9b678a06b88fba1743d3094efea 29-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

* Removed the superfluous "magic" stuff - if structures are broken, then please
let it crash!
* Made some headers self-contained.
* Always lock, regardless of "reenter" (we're using a recursive lock, so this
doesn't matter at all).
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31913 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 152d6bdcca40a929571db03a74ceb13b0c946ead 27-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

* Replaced diri_mark_dirty() with a diri_make_writable(), and fixed its usage
throughout the code.
* Got rid of the transactions - they weren't really used, and thus only created
unnecessary overhead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31836 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 42cd7306a81f02f0b2d7d3ac7761a55156d0188f 26-Sep-2007 Axel Dörfler <axeld@pinc-software.de>

Renamed "dos" file system to "fat".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22316 a95241bf-73f2-0310-859d-f6bbb57e9c96