Revision c45ecdb...

Go back to digest for 4th March 2012

Bug Fixes in KDE Base

Mario Bensi committed changes in [kdelibs/KDE/4.8] /solid/backends/fstab:

Combined handling of fstab and mtab, improved caching

This patch reworks several aspects of the fstab and mtab handling.
1. Most importantly, it takes the union of fstab and mtab to create a
list of available shares.
2. Mtab is cached and keyed by share name, as fstab already is
3. FstabManager serves as a central dispatcher for mtab/fstabChanged
signals. Caches are invalidated, and recreated when needed.
4. Caches and valid flags are members of the FstabHandling class. Valid
flags are needed to differentiate between "empty and valid" and invalid

REVIEW: 103956
REVIEW: 103957

File Changes

Modified 8 files
  • /solid/backends/fstab
  •   solid/fstabdevice.cpp
  •   solid/fstabdevice.h
  •   solid/fstabhandling.cpp
  •   solid/fstabhandling.h
  •   solid/fstabmanager.cpp
  •   solid/fstabmanager.h
  •   solid/fstabstorageaccess.cpp
  •   solid/fstabstorageaccess.h
8 files changed in total