Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
kdelibs4
kdelibs4-mount-vfat-fs-with-flush.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdelibs4-mount-vfat-fs-with-flush.diff of Package kdelibs4
commit 6f8a052881ac699ff2cc4917b32f4620c599a24f Author: Lukas Tinkl <lukas@kde.org> Date: Tue Jun 12 12:28:41 2012 +0200 UDisks mount vfat filesystems with flush option REVIEW:105224 BUG:273792 diff --git a/solid/solid/backends/udisks/udisksstorageaccess.cpp b/solid/solid/backends/udisks/udisksstorageaccess.cpp index 7d72a88..a5f013c 100644 --- a/solid/solid/backends/udisks/udisksstorageaccess.cpp +++ b/solid/solid/backends/udisks/udisksstorageaccess.cpp @@ -259,6 +259,7 @@ bool UDisksStorageAccess::mount() path.chop(6); } QString fstype; + QStringList options; if (isLuksDevice()) { // mount options for the cleartext volume path = m_device->prop("LuksHolder").value<QDBusObjectPath>().path(); @@ -272,8 +273,12 @@ bool UDisksStorageAccess::mount() if (m_device->prop("IdUsage").toString() == "filesystem") fstype = m_device->prop("IdType").toString(); + if (fstype == "vfat") { + options << "flush"; + } + msg << fstype; - msg << QStringList(); // options, unused now + msg << options; return c.callWithCallback(msg, this, SLOT(slotDBusReply(QDBusMessage)),
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor