OSDN Git Service

NFSD: Initialize pointer ni with NULL and not plain integer 0
authorColin Ian King <colin.king@canonical.com>
Sat, 25 Sep 2021 22:58:41 +0000 (23:58 +0100)
committerJ. Bruce Fields <bfields@redhat.com>
Sat, 2 Oct 2021 19:51:10 +0000 (15:51 -0400)
commit8e70bf27fd20cc17e87150327a640e546bfbee64
tree07b35bd98f1ecf6beb8010485f14b5f17ccb6591
parentd8b26071e65e80a348602b939e333242f989221b
NFSD: Initialize pointer ni with NULL and not plain integer 0

Pointer ni is being initialized with plain integer zero. Fix
this by initializing with NULL.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4state.c