mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	nfsd: Clean up errors in nfs4state.c
Fix the following errors reported by checkpatch: ERROR: spaces required around that '=' (ctx:VxW) ERROR: space required after that ',' (ctx:VxO) ERROR: space required before that '~' (ctx:OxV) Signed-off-by: KaiLong Wang <wangkailong@jari.cn> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
This commit is contained in:
		
							parent
							
								
									0e5559ebe7
								
							
						
					
					
						commit
						03a0497f83
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -59,7 +59,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define NFSDDBG_FACILITY                NFSDDBG_PROC
 | 
					#define NFSDDBG_FACILITY                NFSDDBG_PROC
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define all_ones {{~0,~0},~0}
 | 
					#define all_ones {{ ~0, ~0}, ~0}
 | 
				
			||||||
static const stateid_t one_stateid = {
 | 
					static const stateid_t one_stateid = {
 | 
				
			||||||
	.si_generation = ~0,
 | 
						.si_generation = ~0,
 | 
				
			||||||
	.si_opaque = all_ones,
 | 
						.si_opaque = all_ones,
 | 
				
			||||||
| 
						 | 
					@ -298,7 +298,7 @@ find_or_allocate_block(struct nfs4_lockowner *lo, struct knfsd_fh *fh,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	nbl = find_blocked_lock(lo, fh, nn);
 | 
						nbl = find_blocked_lock(lo, fh, nn);
 | 
				
			||||||
	if (!nbl) {
 | 
						if (!nbl) {
 | 
				
			||||||
		nbl= kmalloc(sizeof(*nbl), GFP_KERNEL);
 | 
							nbl = kmalloc(sizeof(*nbl), GFP_KERNEL);
 | 
				
			||||||
		if (nbl) {
 | 
							if (nbl) {
 | 
				
			||||||
			INIT_LIST_HEAD(&nbl->nbl_list);
 | 
								INIT_LIST_HEAD(&nbl->nbl_list);
 | 
				
			||||||
			INIT_LIST_HEAD(&nbl->nbl_lru);
 | 
								INIT_LIST_HEAD(&nbl->nbl_lru);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue