David Howells | ec26815 | 2007-04-26 15:49:28 -0700 | [diff] [blame] | 1 | /* mountpoint management |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | * |
| 3 | * Copyright (C) 2002 Red Hat, Inc. All Rights Reserved. |
| 4 | * Written by David Howells (dhowells@redhat.com) |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License |
| 8 | * as published by the Free Software Foundation; either version |
| 9 | * 2 of the License, or (at your option) any later version. |
| 10 | */ |
| 11 | |
| 12 | #include <linux/kernel.h> |
| 13 | #include <linux/module.h> |
| 14 | #include <linux/init.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | #include <linux/fs.h> |
| 16 | #include <linux/pagemap.h> |
| 17 | #include <linux/mount.h> |
| 18 | #include <linux/namei.h> |
Tejun Heo | 5a0e3ad | 2010-03-24 17:04:11 +0900 | [diff] [blame] | 19 | #include <linux/gfp.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | #include "internal.h" |
| 21 | |
| 22 | |
| 23 | static struct dentry *afs_mntpt_lookup(struct inode *dir, |
| 24 | struct dentry *dentry, |
| 25 | struct nameidata *nd); |
| 26 | static int afs_mntpt_open(struct inode *inode, struct file *file); |
Al Viro | 008b150 | 2005-08-20 00:17:39 +0100 | [diff] [blame] | 27 | static void *afs_mntpt_follow_link(struct dentry *dentry, struct nameidata *nd); |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 28 | static void afs_mntpt_expiry_timed_out(struct work_struct *work); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | |
Arjan van de Ven | 4b6f5d2 | 2006-03-28 01:56:42 -0800 | [diff] [blame] | 30 | const struct file_operations afs_mntpt_file_operations = { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | .open = afs_mntpt_open, |
| 32 | }; |
| 33 | |
Arjan van de Ven | 754661f | 2007-02-12 00:55:38 -0800 | [diff] [blame] | 34 | const struct inode_operations afs_mntpt_inode_operations = { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 35 | .lookup = afs_mntpt_lookup, |
| 36 | .follow_link = afs_mntpt_follow_link, |
| 37 | .readlink = page_readlink, |
David Howells | 416351f | 2007-05-09 02:33:45 -0700 | [diff] [blame] | 38 | .getattr = afs_getattr, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 39 | }; |
| 40 | |
| 41 | static LIST_HEAD(afs_vfsmounts); |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 42 | static DECLARE_DELAYED_WORK(afs_mntpt_expiry_timer, afs_mntpt_expiry_timed_out); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 43 | |
Adrian Bunk | c1206a2 | 2007-10-16 23:26:41 -0700 | [diff] [blame] | 44 | static unsigned long afs_mntpt_expiry_timeout = 10 * 60; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 45 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 46 | /* |
| 47 | * check a symbolic link to see whether it actually encodes a mountpoint |
| 48 | * - sets the AFS_VNODE_MOUNTPOINT flag on the vnode appropriately |
| 49 | */ |
David Howells | 00d3b7a | 2007-04-26 15:57:07 -0700 | [diff] [blame] | 50 | int afs_mntpt_check_symlink(struct afs_vnode *vnode, struct key *key) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | { |
| 52 | struct page *page; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 53 | size_t size; |
| 54 | char *buf; |
| 55 | int ret; |
| 56 | |
David Howells | 416351f | 2007-05-09 02:33:45 -0700 | [diff] [blame] | 57 | _enter("{%x:%u,%u}", |
| 58 | vnode->fid.vid, vnode->fid.vnode, vnode->fid.unique); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 59 | |
| 60 | /* read the contents of the symlink into the pagecache */ |
Al Viro | f6d335c | 2010-05-21 15:27:09 +0100 | [diff] [blame] | 61 | page = read_cache_page(AFS_VNODE_TO_I(vnode)->i_mapping, 0, |
| 62 | afs_page_filler, key); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 63 | if (IS_ERR(page)) { |
| 64 | ret = PTR_ERR(page); |
| 65 | goto out; |
| 66 | } |
| 67 | |
| 68 | ret = -EIO; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 69 | if (PageError(page)) |
| 70 | goto out_free; |
| 71 | |
Nick Piggin | 6fe6900 | 2007-05-06 14:49:04 -0700 | [diff] [blame] | 72 | buf = kmap(page); |
| 73 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 74 | /* examine the symlink's contents */ |
| 75 | size = vnode->status.size; |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 76 | _debug("symlink to %*.*s", (int) size, (int) size, buf); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 77 | |
| 78 | if (size > 2 && |
| 79 | (buf[0] == '%' || buf[0] == '#') && |
| 80 | buf[size - 1] == '.' |
| 81 | ) { |
| 82 | _debug("symlink is a mountpoint"); |
| 83 | spin_lock(&vnode->lock); |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 84 | set_bit(AFS_VNODE_MOUNTPOINT, &vnode->flags); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 85 | spin_unlock(&vnode->lock); |
| 86 | } |
| 87 | |
| 88 | ret = 0; |
| 89 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 90 | kunmap(page); |
Nick Piggin | 6fe6900 | 2007-05-06 14:49:04 -0700 | [diff] [blame] | 91 | out_free: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 92 | page_cache_release(page); |
David Howells | ec26815 | 2007-04-26 15:49:28 -0700 | [diff] [blame] | 93 | out: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 94 | _leave(" = %d", ret); |
| 95 | return ret; |
David Howells | ec26815 | 2007-04-26 15:49:28 -0700 | [diff] [blame] | 96 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 97 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 98 | /* |
| 99 | * no valid lookup procedure on this sort of dir |
| 100 | */ |
| 101 | static struct dentry *afs_mntpt_lookup(struct inode *dir, |
| 102 | struct dentry *dentry, |
| 103 | struct nameidata *nd) |
| 104 | { |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 105 | _enter("%p,%p{%p{%s},%s}", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 106 | dir, |
| 107 | dentry, |
| 108 | dentry->d_parent, |
| 109 | dentry->d_parent ? |
| 110 | dentry->d_parent->d_name.name : (const unsigned char *) "", |
| 111 | dentry->d_name.name); |
| 112 | |
| 113 | return ERR_PTR(-EREMOTE); |
David Howells | ec26815 | 2007-04-26 15:49:28 -0700 | [diff] [blame] | 114 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 115 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 116 | /* |
| 117 | * no valid open procedure on this sort of dir |
| 118 | */ |
| 119 | static int afs_mntpt_open(struct inode *inode, struct file *file) |
| 120 | { |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 121 | _enter("%p,%p{%p{%s},%s}", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 122 | inode, file, |
Josef Sipek | 1d56a96 | 2006-12-08 02:36:50 -0800 | [diff] [blame] | 123 | file->f_path.dentry->d_parent, |
| 124 | file->f_path.dentry->d_parent ? |
| 125 | file->f_path.dentry->d_parent->d_name.name : |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 126 | (const unsigned char *) "", |
Josef Sipek | 1d56a96 | 2006-12-08 02:36:50 -0800 | [diff] [blame] | 127 | file->f_path.dentry->d_name.name); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 128 | |
| 129 | return -EREMOTE; |
David Howells | ec26815 | 2007-04-26 15:49:28 -0700 | [diff] [blame] | 130 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 131 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 132 | /* |
| 133 | * create a vfsmount to be automounted |
| 134 | */ |
| 135 | static struct vfsmount *afs_mntpt_do_automount(struct dentry *mntpt) |
| 136 | { |
| 137 | struct afs_super_info *super; |
| 138 | struct vfsmount *mnt; |
David Howells | 083fd8b | 2010-04-21 12:01:23 +0100 | [diff] [blame] | 139 | struct page *page; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 140 | size_t size; |
David Howells | 083fd8b | 2010-04-21 12:01:23 +0100 | [diff] [blame] | 141 | char *buf, *devname, *options; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 142 | int ret; |
| 143 | |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 144 | _enter("{%s}", mntpt->d_name.name); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 145 | |
| 146 | BUG_ON(!mntpt->d_inode); |
| 147 | |
| 148 | ret = -EINVAL; |
| 149 | size = mntpt->d_inode->i_size; |
| 150 | if (size > PAGE_SIZE - 1) |
David Howells | 083fd8b | 2010-04-21 12:01:23 +0100 | [diff] [blame] | 151 | goto error_no_devname; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 152 | |
| 153 | ret = -ENOMEM; |
| 154 | devname = (char *) get_zeroed_page(GFP_KERNEL); |
| 155 | if (!devname) |
David Howells | 083fd8b | 2010-04-21 12:01:23 +0100 | [diff] [blame] | 156 | goto error_no_devname; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 157 | |
| 158 | options = (char *) get_zeroed_page(GFP_KERNEL); |
| 159 | if (!options) |
David Howells | 083fd8b | 2010-04-21 12:01:23 +0100 | [diff] [blame] | 160 | goto error_no_options; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 161 | |
| 162 | /* read the contents of the AFS special symlink */ |
Pekka Enberg | 090d2b1 | 2006-06-23 02:05:08 -0700 | [diff] [blame] | 163 | page = read_mapping_page(mntpt->d_inode->i_mapping, 0, NULL); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 164 | if (IS_ERR(page)) { |
| 165 | ret = PTR_ERR(page); |
David Howells | 083fd8b | 2010-04-21 12:01:23 +0100 | [diff] [blame] | 166 | goto error_no_page; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 167 | } |
| 168 | |
| 169 | ret = -EIO; |
Nick Piggin | 6fe6900 | 2007-05-06 14:49:04 -0700 | [diff] [blame] | 170 | if (PageError(page)) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 171 | goto error; |
| 172 | |
David Howells | 9b3f26c | 2009-04-03 16:42:41 +0100 | [diff] [blame] | 173 | buf = kmap_atomic(page, KM_USER0); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 174 | memcpy(devname, buf, size); |
David Howells | 9b3f26c | 2009-04-03 16:42:41 +0100 | [diff] [blame] | 175 | kunmap_atomic(buf, KM_USER0); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 176 | page_cache_release(page); |
| 177 | page = NULL; |
| 178 | |
| 179 | /* work out what options we want */ |
| 180 | super = AFS_FS_S(mntpt->d_sb); |
| 181 | memcpy(options, "cell=", 5); |
| 182 | strcpy(options + 5, super->volume->cell->name); |
| 183 | if (super->volume->type == AFSVL_RWVOL) |
| 184 | strcat(options, ",rwpath"); |
| 185 | |
| 186 | /* try and do the mount */ |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 187 | _debug("--- attempting mount %s -o %s ---", devname, options); |
Trond Myklebust | 1f5ce9e | 2006-06-09 09:34:16 -0400 | [diff] [blame] | 188 | mnt = vfs_kern_mount(&afs_fs_type, 0, devname, options); |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 189 | _debug("--- mount result %p ---", mnt); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 190 | |
| 191 | free_page((unsigned long) devname); |
| 192 | free_page((unsigned long) options); |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 193 | _leave(" = %p", mnt); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 194 | return mnt; |
| 195 | |
David Howells | ec26815 | 2007-04-26 15:49:28 -0700 | [diff] [blame] | 196 | error: |
David Howells | 083fd8b | 2010-04-21 12:01:23 +0100 | [diff] [blame] | 197 | page_cache_release(page); |
| 198 | error_no_page: |
| 199 | free_page((unsigned long) options); |
| 200 | error_no_options: |
| 201 | free_page((unsigned long) devname); |
| 202 | error_no_devname: |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 203 | _leave(" = %d", ret); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 204 | return ERR_PTR(ret); |
David Howells | ec26815 | 2007-04-26 15:49:28 -0700 | [diff] [blame] | 205 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 206 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 207 | /* |
| 208 | * follow a link from a mountpoint directory, thus causing it to be mounted |
| 209 | */ |
Al Viro | 008b150 | 2005-08-20 00:17:39 +0100 | [diff] [blame] | 210 | static void *afs_mntpt_follow_link(struct dentry *dentry, struct nameidata *nd) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 211 | { |
| 212 | struct vfsmount *newmnt; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 213 | int err; |
| 214 | |
David Howells | 00d3b7a | 2007-04-26 15:57:07 -0700 | [diff] [blame] | 215 | _enter("%p{%s},{%s:%p{%s},}", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 216 | dentry, |
| 217 | dentry->d_name.name, |
Jan Blunck | 4ac9137 | 2008-02-14 19:34:32 -0800 | [diff] [blame] | 218 | nd->path.mnt->mnt_devname, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 219 | dentry, |
Jan Blunck | 4ac9137 | 2008-02-14 19:34:32 -0800 | [diff] [blame] | 220 | nd->path.dentry->d_name.name); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 221 | |
Jan Blunck | 4ac9137 | 2008-02-14 19:34:32 -0800 | [diff] [blame] | 222 | dput(nd->path.dentry); |
| 223 | nd->path.dentry = dget(dentry); |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 224 | |
Jan Blunck | 4ac9137 | 2008-02-14 19:34:32 -0800 | [diff] [blame] | 225 | newmnt = afs_mntpt_do_automount(nd->path.dentry); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 226 | if (IS_ERR(newmnt)) { |
Jan Blunck | 1d957f9 | 2008-02-14 19:34:35 -0800 | [diff] [blame] | 227 | path_put(&nd->path); |
Al Viro | 008b150 | 2005-08-20 00:17:39 +0100 | [diff] [blame] | 228 | return (void *)newmnt; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 229 | } |
| 230 | |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 231 | mntget(newmnt); |
Al Viro | 8d66bf5 | 2008-08-01 09:05:54 -0400 | [diff] [blame] | 232 | err = do_add_mount(newmnt, &nd->path, MNT_SHRINKABLE, &afs_vfsmounts); |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 233 | switch (err) { |
| 234 | case 0: |
Jan Blunck | 09da5916 | 2008-02-14 19:34:37 -0800 | [diff] [blame] | 235 | path_put(&nd->path); |
Jan Blunck | 4ac9137 | 2008-02-14 19:34:32 -0800 | [diff] [blame] | 236 | nd->path.mnt = newmnt; |
| 237 | nd->path.dentry = dget(newmnt->mnt_root); |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 238 | schedule_delayed_work(&afs_mntpt_expiry_timer, |
| 239 | afs_mntpt_expiry_timeout * HZ); |
| 240 | break; |
| 241 | case -EBUSY: |
| 242 | /* someone else made a mount here whilst we were busy */ |
Jan Blunck | 4ac9137 | 2008-02-14 19:34:32 -0800 | [diff] [blame] | 243 | while (d_mountpoint(nd->path.dentry) && |
Al Viro | 9393bd0 | 2009-04-18 13:58:15 -0400 | [diff] [blame] | 244 | follow_down(&nd->path)) |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 245 | ; |
| 246 | err = 0; |
| 247 | default: |
| 248 | mntput(newmnt); |
| 249 | break; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 250 | } |
| 251 | |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 252 | _leave(" = %d", err); |
Al Viro | 008b150 | 2005-08-20 00:17:39 +0100 | [diff] [blame] | 253 | return ERR_PTR(err); |
David Howells | ec26815 | 2007-04-26 15:49:28 -0700 | [diff] [blame] | 254 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 255 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 256 | /* |
| 257 | * handle mountpoint expiry timer going off |
| 258 | */ |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 259 | static void afs_mntpt_expiry_timed_out(struct work_struct *work) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 260 | { |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 261 | _enter(""); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 262 | |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 263 | if (!list_empty(&afs_vfsmounts)) { |
| 264 | mark_mounts_for_expiry(&afs_vfsmounts); |
| 265 | schedule_delayed_work(&afs_mntpt_expiry_timer, |
| 266 | afs_mntpt_expiry_timeout * HZ); |
| 267 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 268 | |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 269 | _leave(""); |
| 270 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 271 | |
David Howells | 08e0e7c | 2007-04-26 15:55:03 -0700 | [diff] [blame] | 272 | /* |
| 273 | * kill the AFS mountpoint timer if it's still running |
| 274 | */ |
| 275 | void afs_mntpt_kill_timer(void) |
| 276 | { |
| 277 | _enter(""); |
| 278 | |
| 279 | ASSERT(list_empty(&afs_vfsmounts)); |
| 280 | cancel_delayed_work(&afs_mntpt_expiry_timer); |
| 281 | flush_scheduled_work(); |
| 282 | } |