diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-14 15:31:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-14 15:31:14 -0400 |
commit | 8acd3a60bcca17c6d89c73cee3ad6057eb83ba1e (patch) | |
tree | d610c8d39246c33c499ee9d92d302d3ca9e89ae3 /kernel/sysctl.c | |
parent | c269bc00fcb876ae3b85f178f1e34601185c8ccc (diff) | |
parent | 107e0008dfb8bd6366bc8827f5bbbc0c1f795d2d (diff) |
Merge branch 'for-2.6.28' of git://linux-nfs.org/~bfields/linux
* 'for-2.6.28' of git://linux-nfs.org/~bfields/linux: (59 commits)
svcrdma: Fix IRD/ORD polarity
svcrdma: Update svc_rdma_send_error to use DMA LKEY
svcrdma: Modify the RPC reply path to use FRMR when available
svcrdma: Modify the RPC recv path to use FRMR when available
svcrdma: Add support to svc_rdma_send to handle chained WR
svcrdma: Modify post recv path to use local dma key
svcrdma: Add a service to register a Fast Reg MR with the device
svcrdma: Query device for Fast Reg support during connection setup
svcrdma: Add FRMR get/put services
NLM: Remove unused argument from svc_addsock() function
NLM: Remove "proto" argument from lockd_up()
NLM: Always start both UDP and TCP listeners
lockd: Remove unused fields in the nlm_reboot structure
lockd: Add helper to sanity check incoming NOTIFY requests
lockd: change nlmclnt_grant() to take a "struct sockaddr *"
lockd: Adjust nlmsvc_lookup_host() to accomodate AF_INET6 addresses
lockd: Adjust nlmclnt_lookup_host() signature to accomodate non-AF_INET
lockd: Support non-AF_INET addresses in nlm_lookup_host()
NLM: Convert nlm_lookup_host() to use a single argument
svcrdma: Add Fast Reg MR Data Types
...
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index c468c3c6dfc5..cfc5295f1e82 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -96,7 +96,7 @@ static int sixty = 60; | |||
96 | static int neg_one = -1; | 96 | static int neg_one = -1; |
97 | #endif | 97 | #endif |
98 | 98 | ||
99 | #ifdef CONFIG_MMU | 99 | #if defined(CONFIG_MMU) && defined(CONFIG_FILE_LOCKING) |
100 | static int two = 2; | 100 | static int two = 2; |
101 | #endif | 101 | #endif |
102 | 102 | ||
@@ -1248,6 +1248,7 @@ static struct ctl_table fs_table[] = { | |||
1248 | .extra1 = &minolduid, | 1248 | .extra1 = &minolduid, |
1249 | .extra2 = &maxolduid, | 1249 | .extra2 = &maxolduid, |
1250 | }, | 1250 | }, |
1251 | #ifdef CONFIG_FILE_LOCKING | ||
1251 | { | 1252 | { |
1252 | .ctl_name = FS_LEASES, | 1253 | .ctl_name = FS_LEASES, |
1253 | .procname = "leases-enable", | 1254 | .procname = "leases-enable", |
@@ -1256,6 +1257,7 @@ static struct ctl_table fs_table[] = { | |||
1256 | .mode = 0644, | 1257 | .mode = 0644, |
1257 | .proc_handler = &proc_dointvec, | 1258 | .proc_handler = &proc_dointvec, |
1258 | }, | 1259 | }, |
1260 | #endif | ||
1259 | #ifdef CONFIG_DNOTIFY | 1261 | #ifdef CONFIG_DNOTIFY |
1260 | { | 1262 | { |
1261 | .ctl_name = FS_DIR_NOTIFY, | 1263 | .ctl_name = FS_DIR_NOTIFY, |
@@ -1267,6 +1269,7 @@ static struct ctl_table fs_table[] = { | |||
1267 | }, | 1269 | }, |
1268 | #endif | 1270 | #endif |
1269 | #ifdef CONFIG_MMU | 1271 | #ifdef CONFIG_MMU |
1272 | #ifdef CONFIG_FILE_LOCKING | ||
1270 | { | 1273 | { |
1271 | .ctl_name = FS_LEASE_TIME, | 1274 | .ctl_name = FS_LEASE_TIME, |
1272 | .procname = "lease-break-time", | 1275 | .procname = "lease-break-time", |
@@ -1278,6 +1281,7 @@ static struct ctl_table fs_table[] = { | |||
1278 | .extra1 = &zero, | 1281 | .extra1 = &zero, |
1279 | .extra2 = &two, | 1282 | .extra2 = &two, |
1280 | }, | 1283 | }, |
1284 | #endif | ||
1281 | { | 1285 | { |
1282 | .procname = "aio-nr", | 1286 | .procname = "aio-nr", |
1283 | .data = &aio_nr, | 1287 | .data = &aio_nr, |