commit | 2997bfd0492d33d230b1475909a0211157a734bc | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon May 23 13:21:01 2016 +0300 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Wed May 25 12:11:58 2016 -0400 |
tree | 0e7ed809bc6feae676421b3e2fa81e3b65a40ffd | |
parent | 1b3c6d07e29515064aca8a9f86efaea7da4da027 [diff] |
NFS: checking for NULL instead of IS_ERR() in nfs_commit_file() nfs_create_request() doesn't return NULL, it returns error pointers. Fixes: 67911c8f18b5 ('NFS: Add nfs_commit_file()') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>