14 lines
506 B
Diff
14 lines
506 B
Diff
--- gvfs-0.2.4-orig/daemon/gvfsbackendtrash.c 2008-05-26 17:54:32.000000000 -0400
|
|
+++ gvfs-0.2.4/daemon/gvfsbackendtrash.c 2008-06-20 11:18:45.000000000 -0400
|
|
@@ -538,6 +538,10 @@
|
|
{
|
|
mount = l->data;
|
|
|
|
+ /* Skip autofs filesystem types: the root cannot contain .Trash */
|
|
+ if (strcmp ("autofs", g_unix_mount_get_fs_type (mount)) == 0)
|
|
+ continue;
|
|
+
|
|
topdir = g_unix_mount_get_mount_path (mount);
|
|
topdirs = g_list_prepend (topdirs, g_strdup (topdir));
|
|
|