diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-09 13:34:20 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-06-09 13:34:20 (GMT) |
commit | 51d8fa6a109589d522c18a8e9bf3fb167a91b1bc (patch) | |
tree | a9ec5e642bfa64f7cf1fde01617b30bac385bac6 /include/linux/nfs_fs.h | |
parent | 55a975937d40cac582e981ddc8ed783b3dcc043c (diff) | |
download | linux-fsl-qoriq-51d8fa6a109589d522c18a8e9bf3fb167a91b1bc.tar.xz |
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/linux/nfs_fs.h')
-rw-r--r-- | include/linux/nfs_fs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 0ce8704..a34b3ee 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h @@ -405,7 +405,10 @@ extern void nfs_unregister_sysctl(void); /* * linux/fs/nfs/namespace.c */ +extern struct list_head nfs_automount_list; extern struct inode_operations nfs_mountpoint_inode_operations; +extern int nfs_mountpoint_expiry_timeout; +extern void nfs_release_automount_timer(void); /* * linux/fs/nfs/unlink.c |