aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/client.c1
-rw-r--r--fs/nfs/direct.c1
-rw-r--r--fs/nfs/getroot.c1
-rw-r--r--fs/nfs/nfs3proc.c1
-rw-r--r--fs/nfs/nfs4renewd.c1
-rw-r--r--fs/nfs/proc.c1
-rw-r--r--fs/nfs/symlink.c1
-rw-r--r--fs/nfs/write.c5
8 files changed, 2 insertions, 10 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index 5bd03b97002e..50c6821bad26 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -27,7 +27,6 @@
27#include <linux/nfs_mount.h> 27#include <linux/nfs_mount.h>
28#include <linux/nfs4_mount.h> 28#include <linux/nfs4_mount.h>
29#include <linux/lockd/bind.h> 29#include <linux/lockd/bind.h>
30#include <linux/smp_lock.h>
31#include <linux/seq_file.h> 30#include <linux/seq_file.h>
32#include <linux/mount.h> 31#include <linux/mount.h>
33#include <linux/nfs_idmap.h> 32#include <linux/nfs_idmap.h>
diff --git a/fs/nfs/direct.c b/fs/nfs/direct.c
index 889de60f8a84..345aa5c0f382 100644
--- a/fs/nfs/direct.c
+++ b/fs/nfs/direct.c
@@ -41,7 +41,6 @@
41#include <linux/errno.h> 41#include <linux/errno.h>
42#include <linux/sched.h> 42#include <linux/sched.h>
43#include <linux/kernel.h> 43#include <linux/kernel.h>
44#include <linux/smp_lock.h>
45#include <linux/file.h> 44#include <linux/file.h>
46#include <linux/pagemap.h> 45#include <linux/pagemap.h>
47#include <linux/kref.h> 46#include <linux/kref.h>
diff --git a/fs/nfs/getroot.c b/fs/nfs/getroot.c
index 6ef268f7c300..234778576f09 100644
--- a/fs/nfs/getroot.c
+++ b/fs/nfs/getroot.c
@@ -25,7 +25,6 @@
25#include <linux/nfs_mount.h> 25#include <linux/nfs_mount.h>
26#include <linux/nfs4_mount.h> 26#include <linux/nfs4_mount.h>
27#include <linux/lockd/bind.h> 27#include <linux/lockd/bind.h>
28#include <linux/smp_lock.h>
29#include <linux/seq_file.h> 28#include <linux/seq_file.h>
30#include <linux/mount.h> 29#include <linux/mount.h>
31#include <linux/nfs_idmap.h> 30#include <linux/nfs_idmap.h>
diff --git a/fs/nfs/nfs3proc.c b/fs/nfs/nfs3proc.c
index 7d0371e2bad5..45268d6def2e 100644
--- a/fs/nfs/nfs3proc.c
+++ b/fs/nfs/nfs3proc.c
@@ -16,7 +16,6 @@
16#include <linux/nfs_fs.h> 16#include <linux/nfs_fs.h>
17#include <linux/nfs_page.h> 17#include <linux/nfs_page.h>
18#include <linux/lockd/bind.h> 18#include <linux/lockd/bind.h>
19#include <linux/smp_lock.h>
20#include <linux/nfs_mount.h> 19#include <linux/nfs_mount.h>
21 20
22#include "iostat.h" 21#include "iostat.h"
diff --git a/fs/nfs/nfs4renewd.c b/fs/nfs/nfs4renewd.c
index f5f4430fb2a4..0505ca124034 100644
--- a/fs/nfs/nfs4renewd.c
+++ b/fs/nfs/nfs4renewd.c
@@ -43,7 +43,6 @@
43 * child task framework of the RPC layer? 43 * child task framework of the RPC layer?
44 */ 44 */
45 45
46#include <linux/smp_lock.h>
47#include <linux/mm.h> 46#include <linux/mm.h>
48#include <linux/pagemap.h> 47#include <linux/pagemap.h>
49#include <linux/sunrpc/sched.h> 48#include <linux/sunrpc/sched.h>
diff --git a/fs/nfs/proc.c b/fs/nfs/proc.c
index 1dcf56de9482..7be0ee2782cb 100644
--- a/fs/nfs/proc.c
+++ b/fs/nfs/proc.c
@@ -43,7 +43,6 @@
43#include <linux/nfs_fs.h> 43#include <linux/nfs_fs.h>
44#include <linux/nfs_page.h> 44#include <linux/nfs_page.h>
45#include <linux/lockd/bind.h> 45#include <linux/lockd/bind.h>
46#include <linux/smp_lock.h>
47#include "internal.h" 46#include "internal.h"
48 47
49#define NFSDBG_FACILITY NFSDBG_PROC 48#define NFSDBG_FACILITY NFSDBG_PROC
diff --git a/fs/nfs/symlink.c b/fs/nfs/symlink.c
index bc2821331c29..83e865a16ad1 100644
--- a/fs/nfs/symlink.c
+++ b/fs/nfs/symlink.c
@@ -22,7 +22,6 @@
22#include <linux/mm.h> 22#include <linux/mm.h>
23#include <linux/slab.h> 23#include <linux/slab.h>
24#include <linux/string.h> 24#include <linux/string.h>
25#include <linux/smp_lock.h>
26#include <linux/namei.h> 25#include <linux/namei.h>
27 26
28/* Symlink caching in the page cache is even more simplistic 27/* Symlink caching in the page cache is even more simplistic
diff --git a/fs/nfs/write.c b/fs/nfs/write.c
index 5d44b8bd1070..de92b9509d94 100644
--- a/fs/nfs/write.c
+++ b/fs/nfs/write.c
@@ -21,7 +21,6 @@
21#include <linux/backing-dev.h> 21#include <linux/backing-dev.h>
22 22
23#include <asm/uaccess.h> 23#include <asm/uaccess.h>
24#include <linux/smp_lock.h>
25 24
26#include "delegation.h" 25#include "delegation.h"
27#include "internal.h" 26#include "internal.h"
@@ -225,7 +224,7 @@ static int nfs_set_page_writeback(struct page *page)
225 struct inode *inode = page->mapping->host; 224 struct inode *inode = page->mapping->host;
226 struct nfs_server *nfss = NFS_SERVER(inode); 225 struct nfs_server *nfss = NFS_SERVER(inode);
227 226
228 if (atomic_inc_return(&nfss->writeback) > 227 if (atomic_long_inc_return(&nfss->writeback) >
229 NFS_CONGESTION_ON_THRESH) 228 NFS_CONGESTION_ON_THRESH)
230 set_bdi_congested(&nfss->backing_dev_info, WRITE); 229 set_bdi_congested(&nfss->backing_dev_info, WRITE);
231 } 230 }
@@ -238,7 +237,7 @@ static void nfs_end_page_writeback(struct page *page)
238 struct nfs_server *nfss = NFS_SERVER(inode); 237 struct nfs_server *nfss = NFS_SERVER(inode);
239 238
240 end_page_writeback(page); 239 end_page_writeback(page);
241 if (atomic_dec_return(&nfss->writeback) < NFS_CONGESTION_OFF_THRESH) { 240 if (atomic_long_dec_return(&nfss->writeback) < NFS_CONGESTION_OFF_THRESH) {
242 clear_bdi_congested(&nfss->backing_dev_info, WRITE); 241 clear_bdi_congested(&nfss->backing_dev_info, WRITE);
243 congestion_end(WRITE); 242 congestion_end(WRITE);
244 } 243 }