D15155: [KMountPoint] Fix typo in probablySlow()

David Faure noreply at phabricator.kde.org
Thu Aug 30 20:52:46 BST 2018


dfaure added a comment.


    commit bd86d99dda
    Author: Adrian Schroeter <adrian at suse.de>
    Date:   Wed Apr 7 07:36:37 2004 +0000
    
        do not use DNOTIFY on subfs mounted devices. this would lock the drive and make an eject impossible.
        
        svn path=/trunk/kdelibs/; revision=301908
    
    diff --git a/kio/kio/global.cpp b/kio/kio/global.cpp
    index 046a68285f..ab0a65bd84 100644
    --- a/kio/kio/global.cpp
    +++ b/kio/kio/global.cpp
    @@ -1561,7 +1561,7 @@ static void check_mount_point(const char *mounttype,
                                   MountState &isslow, MountState &isautofs)
     {
         bool nfs = !strcmp(mounttype, "nfs");
    -    bool autofs = !strcmp(mounttype, "autofs");
    +    bool autofs = !strcmp(mounttype, "autofs") || !strcmp(mounttype,"subfs");
         bool pid = (strstr(fsname, ":(pid") != 0);
     
         if (nfs && !pid)
  
  Not a typo. No idea if still applicable though.

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D15155

To: broulik, dfaure, dhaumann, aacid, ngraham
Cc: bruns, davidedmundson, kde-frameworks-devel, michaelh, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180830/d6c5d2ee/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list