NFSD: Remove duplicate initialization of file_lock
authorKinglong Mee <kinglongmee@gmail.com>
Fri, 15 Aug 2014 00:02:55 +0000 (08:02 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 28 Aug 2014 19:58:35 +0000 (15:58 -0400)
commit6cd906627b4f7438c6f5bb1d1eed63a6d7776e2e
treebb922c8cddb4ba9c5b4589729d1ea47ea067727d
parentae89254da6879cffa6a17327e5f3f60217b718cf
NFSD: Remove duplicate initialization of file_lock

locks_alloc_lock() has initialized struct file_lock, no need to
re-initialize it here.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Reviewed-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c