summaryrefslogtreecommitdiff
path: root/gamin/0001-Poll-files-on-nfs4.patch
blob: f776732c8885c6bcf004ebdc822876e0ac0346b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From b92b17ecced6df463da73d6de566740cf5cd00d4 Mon Sep 17 00:00:00 2001
From: Marek Kasik <mkasik@redhat.com>
Date: Fri, 1 Feb 2013 15:19:58 +0100
Subject: [PATCH 1/2] Poll files on nfs4

Add nfs4 among polled filesystems.

https://bugzilla.gnome.org/show_bug.cgi?id=693006
---
 server/gam_fs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/gam_fs.c b/server/gam_fs.c
index c8ca704..143a603 100644
--- a/server/gam_fs.c
+++ b/server/gam_fs.c
@@ -178,6 +178,7 @@ gam_fs_init (void)
 		gam_fs_set ("reiserfs", GFS_MT_DEFAULT, 0);
 		gam_fs_set ("novfs", GFS_MT_POLL, 30);
 		gam_fs_set ("nfs", GFS_MT_POLL, 5);
+		gam_fs_set ("nfs4", GFS_MT_POLL, 5);
 		if (stat("/etc/mtab", &mtab_sbuf) != 0)
 		{
 			GAM_DEBUG(DEBUG_INFO, "Could not stat /etc/mtab\n");
-- 
1.8.1.2