Skip to content
Commit 2997bfd0 authored by Dan Carpenter's avatar Dan Carpenter Committed by Anna Schumaker
Browse files

NFS: checking for NULL instead of IS_ERR() in nfs_commit_file()



nfs_create_request() doesn't return NULL, it returns error pointers.

Fixes: 67911c8f ('NFS: Add nfs_commit_file()')
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 1b3c6d07
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment