X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fafs%2Fcmservice.c;h=1f968366e6517c90879b1c566bd7a942ab17a3b7;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=289489da3ca242eeb36daaf3cddf4b5ed5ba0793;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/fs/afs/cmservice.c b/fs/afs/cmservice.c index 289489da3..1f968366e 100644 --- a/fs/afs/cmservice.c +++ b/fs/afs/cmservice.c @@ -307,10 +307,8 @@ int afscm_start(void) if (ret < 0) goto kill; -#ifdef AFS_AUTOMOUNT_SUPPORT afs_kafstimod_add_timer(&afs_mntpt_expiry_timer, afs_mntpt_expiry_timeout * HZ); -#endif } afscm_usage++; @@ -392,9 +390,7 @@ void afscm_stop(void) } spin_unlock(&kafscmd_attention_lock); -#ifdef AFS_AUTOMOUNT_SUPPORT afs_kafstimod_del_timer(&afs_mntpt_expiry_timer); -#endif } up_write(&afscm_sem);