]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: checking for NULL instead of IS_ERR() in nfs_commit_file()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 23 May 2016 10:21:01 +0000 (13:21 +0300)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 25 May 2016 16:11:58 +0000 (12:11 -0400)
commitdd09d7786041b58ac72e523274c50842f57756c5
tree0e7ed809bc6feae676421b3e2fa81e3b65a40ffd
parentfc2a81a7cf579a854f92c8104df3898f14462043
NFS: checking for NULL instead of IS_ERR() in nfs_commit_file()

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

Fixes: 119d89ed9c26 ('NFS: Add nfs_commit_file()')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/write.c