aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-09 09:34:20 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-06-09 09:34:20 -0400
commit51d8fa6a109589d522c18a8e9bf3fb167a91b1bc (patch)
treea9ec5e642bfa64f7cf1fde01617b30bac385bac6 /include
parent55a975937d40cac582e981ddc8ed783b3dcc043c (diff)
NFS: Add timeout to submounts
Make automounted partitions expire using the mark_mounts_for_expiry() function. The timeout is controlled via a sysctl. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_fs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 0ce8704732c2..a34b3ee443f1 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -405,7 +405,10 @@ extern void nfs_unregister_sysctl(void);
405/* 405/*
406 * linux/fs/nfs/namespace.c 406 * linux/fs/nfs/namespace.c
407 */ 407 */
408extern struct list_head nfs_automount_list;
408extern struct inode_operations nfs_mountpoint_inode_operations; 409extern struct inode_operations nfs_mountpoint_inode_operations;
410extern int nfs_mountpoint_expiry_timeout;
411extern void nfs_release_automount_timer(void);
409 412
410/* 413/*
411 * linux/fs/nfs/unlink.c 414 * linux/fs/nfs/unlink.c