Skip to content

Commit 03a0497

Browse files
KaiLong Wangchucklever
authored andcommitted
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 <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
1 parent 0e5559e commit 03a0497

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/nfsd/nfs4state.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060
#define NFSDDBG_FACILITY NFSDDBG_PROC
6161

62-
#define all_ones {{~0,~0},~0}
62+
#define all_ones {{ ~0, ~0}, ~0}
6363
static const stateid_t one_stateid = {
6464
.si_generation = ~0,
6565
.si_opaque = all_ones,
@@ -298,7 +298,7 @@ find_or_allocate_block(struct nfs4_lockowner *lo, struct knfsd_fh *fh,
298298

299299
nbl = find_blocked_lock(lo, fh, nn);
300300
if (!nbl) {
301-
nbl= kmalloc(sizeof(*nbl), GFP_KERNEL);
301+
nbl = kmalloc(sizeof(*nbl), GFP_KERNEL);
302302
if (nbl) {
303303
INIT_LIST_HEAD(&nbl->nbl_list);
304304
INIT_LIST_HEAD(&nbl->nbl_lru);

0 commit comments

Comments
 (0)