fs/nfsd: change type of max_delegations, nfsd_drc_max_mem and nfsd_drc_mem_used
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Sat, 23 Feb 2013 00:35:47 +0000 (16:35 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 24 Feb 2013 01:50:22 +0000 (17:50 -0800)
commit697ce9be7d5c78d6a53dee15f5574f7398cba05c
tree5d796874cb19a7c6de1000525e86e8d15cf358d4
parent43be594a6b0ce34ab5fa3b13e08727a99fb95b91
fs/nfsd: change type of max_delegations, nfsd_drc_max_mem and nfsd_drc_mem_used

The three variables are calculated from nr_free_buffer_pages so change
their types to unsigned long in case of overflow.

Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/nfsd/nfs4state.c
fs/nfsd/nfsd.h
fs/nfsd/nfssvc.c