[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    =?utf-8?q?=5Bamarok=5D_src/core-impl/collections/db/sql/device/n?=
From:       "Peter C.Ndikuwera" <pndiku () gmail ! com>
Date:       2011-03-25 9:29:22
Message-ID: 20110325092922.37161A609B () git ! kde ! org
[Download RAW message or body]

Git commit 7da6d116084b84fcef2491dc07093daecd7c1bb8 by Peter C. Ndikuwera.
Committed on 25/03/2011 at 10:29.
Pushed by pndiku into branch 'master'.

Recognized NFSv4 mounts as well

M  +1    -1    src/core-impl/collections/db/sql/device/nfs/NfsDeviceHandler.cpp     

http://commits.kde.org/amarok/7da6d116084b84fcef2491dc07093daecd7c1bb8

diff --git a/src/core-impl/collections/db/sql/device/nfs/NfsDeviceHandler.cpp \
b/src/core-impl/collections/db/sql/device/nfs/NfsDeviceHandler.cpp index \
                405d632..74e19bc 100644
--- a/src/core-impl/collections/db/sql/device/nfs/NfsDeviceHandler.cpp
+++ b/src/core-impl/collections/db/sql/device/nfs/NfsDeviceHandler.cpp
@@ -134,7 +134,7 @@ bool NfsDeviceHandlerFactory::canHandle( const Solid::Device \
&device ) const  // find mount point
     KMountPoint::Ptr m = KMountPoint::currentMountPoints().findByPath( \
access->filePath() );  
-    if ( m && m->mountType() == "nfs" )
+    if ( m && ( m->mountType() == "nfs" || m->mountType() == "nfs4" ))
       return true;
 
     return false;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic