diff options
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfssvc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c index 78d8fcd883fb..9be2a1932f8a 100644 --- a/fs/nfsd/nfssvc.c +++ b/fs/nfsd/nfssvc.c | |||
@@ -246,8 +246,7 @@ void nfsd_reset_versions(void) | |||
246 | */ | 246 | */ |
247 | static void set_max_drc(void) | 247 | static void set_max_drc(void) |
248 | { | 248 | { |
249 | /* The percent of nr_free_buffer_pages used by the V4.1 server DRC */ | 249 | #define NFSD_DRC_SIZE_SHIFT 10 |
250 | #define NFSD_DRC_SIZE_SHIFT 7 | ||
251 | nfsd_drc_max_pages = nr_free_buffer_pages() | 250 | nfsd_drc_max_pages = nr_free_buffer_pages() |
252 | >> NFSD_DRC_SIZE_SHIFT; | 251 | >> NFSD_DRC_SIZE_SHIFT; |
253 | nfsd_drc_pages_used = 0; | 252 | nfsd_drc_pages_used = 0; |