diff options
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r-- | fs/nfs/inode.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 9927913c97c2..68921b01b792 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
@@ -75,7 +75,7 @@ nfs_fattr_to_ino_t(struct nfs_fattr *fattr) | |||
75 | * nfs_wait_bit_killable - helper for functions that are sleeping on bit locks | 75 | * nfs_wait_bit_killable - helper for functions that are sleeping on bit locks |
76 | * @word: long word containing the bit lock | 76 | * @word: long word containing the bit lock |
77 | */ | 77 | */ |
78 | int nfs_wait_bit_killable(void *word) | 78 | int nfs_wait_bit_killable(struct wait_bit_key *key) |
79 | { | 79 | { |
80 | if (fatal_signal_pending(current)) | 80 | if (fatal_signal_pending(current)) |
81 | return -ERESTARTSYS; | 81 | return -ERESTARTSYS; |
@@ -1074,8 +1074,8 @@ int nfs_revalidate_mapping(struct inode *inode, struct address_space *mapping) | |||
1074 | * the bit lock here if it looks like we're going to be doing that. | 1074 | * the bit lock here if it looks like we're going to be doing that. |
1075 | */ | 1075 | */ |
1076 | for (;;) { | 1076 | for (;;) { |
1077 | ret = wait_on_bit(bitlock, NFS_INO_INVALIDATING, | 1077 | ret = wait_on_bit_action(bitlock, NFS_INO_INVALIDATING, |
1078 | nfs_wait_bit_killable, TASK_KILLABLE); | 1078 | nfs_wait_bit_killable, TASK_KILLABLE); |
1079 | if (ret) | 1079 | if (ret) |
1080 | goto out; | 1080 | goto out; |
1081 | spin_lock(&inode->i_lock); | 1081 | spin_lock(&inode->i_lock); |
@@ -1840,11 +1840,12 @@ EXPORT_SYMBOL_GPL(nfs_net_id); | |||
1840 | static int nfs_net_init(struct net *net) | 1840 | static int nfs_net_init(struct net *net) |
1841 | { | 1841 | { |
1842 | nfs_clients_init(net); | 1842 | nfs_clients_init(net); |
1843 | return 0; | 1843 | return nfs_fs_proc_net_init(net); |
1844 | } | 1844 | } |
1845 | 1845 | ||
1846 | static void nfs_net_exit(struct net *net) | 1846 | static void nfs_net_exit(struct net *net) |
1847 | { | 1847 | { |
1848 | nfs_fs_proc_net_exit(net); | ||
1848 | nfs_cleanup_cb_ident_idr(net); | 1849 | nfs_cleanup_cb_ident_idr(net); |
1849 | } | 1850 | } |
1850 | 1851 | ||