forked from rpms/kernel
		
	Enable CONFIG_NFSD_FAULT_INJECTION on debug builds (suggested by Jeff Layton)
This commit is contained in:
		
							parent
							
								
									011b1a6842
								
							
						
					
					
						commit
						d93939787e
					
				
							
								
								
									
										1
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								Makefile
									
									
									
									
									
								
							| @ -71,6 +71,7 @@ debug: | ||||
| 	@perl -pi -e 's/# CONFIG_EXT4_DEBUG is not set/CONFIG_EXT4_DEBUG=y/' config-nodebug | ||||
| 	@perl -pi -e 's/# CONFIG_DEBUG_PERF_USE_VMALLOC is not set/CONFIG_DEBUG_PERF_USE_VMALLOC=y/' config-nodebug | ||||
| 	@perl -pi -e 's/# CONFIG_JBD2_DEBUG is not set/CONFIG_JBD2_DEBUG=y/' config-nodebug | ||||
| 	@perl -pi -e 's/# CONFIG_NFSD_FAULT_INJECTION is not set/CONFIG_NFSD_FAULT_INJECTION=y/' config-nodebug | ||||
| 	@perl -pi -e 's/# CONFIG_DEBUG_BLK_CGROUP is not set/CONFIG_DEBUG_BLK_CGROUP=y/' config-nodebug | ||||
| 	@perl -pi -e 's/# CONFIG_DRBD_FAULT_INJECTION is not set/CONFIG_DRBD_FAULT_INJECTION=y/' config-nodebug | ||||
| 	@perl -pi -e 's/# CONFIG_ATH_DEBUG is not set/CONFIG_ATH_DEBUG=y/' config-nodebug | ||||
|  | ||||
| @ -51,6 +51,7 @@ config-release: | ||||
| 	@perl -pi -e 's/CONFIG_EXT4_DEBUG=y/# CONFIG_EXT4_DEBUG is not set/' config-nodebug | ||||
| 	@perl -pi -e 's/CONFIG_DEBUG_PERF_USE_VMALLOC=y/# CONFIG_DEBUG_PERF_USE_VMALLOC is not set/' config-nodebug | ||||
| 	@perl -pi -e 's/CONFIG_JBD2_DEBUG=y/# CONFIG_JBD2_DEBUG is not set/' config-nodebug | ||||
| 	@perl -pi -e 's/CONFIG_NFSD_FAULT_INJECTION=y/# CONFIG_NFSD_FAULT_INJECTION is not set/' config-nodebug | ||||
| 	@perl -pi -e 's/CONFIG_DEBUG_BLK_CGROUP=y/# CONFIG_DEBUG_BLK_CGROUP is not set/' config-nodebug | ||||
| 	@perl -pi -e 's/CONFIG_DRBD_FAULT_INJECTION=y/# CONFIG_DRBD_FAULT_INJECTION is not set/' config-nodebug | ||||
| 	@perl -pi -e 's/CONFIG_ATH_DEBUG=y/# CONFIG_ATH_DEBUG is not set/' config-nodebug | ||||
|  | ||||
| @ -72,6 +72,8 @@ CONFIG_DEBUG_PERF_USE_VMALLOC=y | ||||
| 
 | ||||
| CONFIG_JBD2_DEBUG=y | ||||
| 
 | ||||
| CONFIG_NFSD_FAULT_INJECTION=y | ||||
| 
 | ||||
| CONFIG_DEBUG_BLK_CGROUP=y | ||||
| 
 | ||||
| CONFIG_DRBD_FAULT_INJECTION=y | ||||
|  | ||||
| @ -3571,8 +3571,6 @@ CONFIG_NFSD=m | ||||
| CONFIG_NFSD_V3=y | ||||
| CONFIG_NFSD_V3_ACL=y | ||||
| CONFIG_NFSD_V4=y | ||||
| # Maybe see if we want this on for debug kernels? | ||||
| # CONFIG_NFSD_FAULT_INJECTION is not set | ||||
| CONFIG_NFS_FSCACHE=y | ||||
| # CONFIG_NFS_USE_LEGACY_DNS is not set | ||||
| CONFIG_NFS_USE_NEW_IDMAPPER=y | ||||
|  | ||||
| @ -72,6 +72,8 @@ CONFIG_DEBUG_PERF_USE_VMALLOC=y | ||||
| 
 | ||||
| CONFIG_JBD2_DEBUG=y | ||||
| 
 | ||||
| CONFIG_NFSD_FAULT_INJECTION=y | ||||
| 
 | ||||
| CONFIG_DEBUG_BLK_CGROUP=y | ||||
| 
 | ||||
| CONFIG_DRBD_FAULT_INJECTION=y | ||||
|  | ||||
| @ -2327,6 +2327,7 @@ fi | ||||
| #                 ||     || | ||||
| %changelog | ||||
| * Fri May 11 2012 Josh Boyer <jwboyer@redaht.com> | ||||
| - Enable CONFIG_NFSD_FAULT_INJECTION on debug builds (suggested by Jeff Layton) | ||||
| - Enable CONFIG_SUNRPC_DEBUG (pointed out by Jeff Layton) | ||||
| 
 | ||||
| * Fri May 11 2012 Josh Boyer <jwboyer@redhat.com> - 3.4.0-0.rc6.git3.1 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user