ovl: remove unneeded check for IS_ERR()
commita59f97ff66f0058702ed6f6e26dd8fa3c34caf62
authorAmir Goldstein <amir73il@gmail.com>
Tue, 11 Jul 2017 12:58:37 +0000 (11 15:58 +0300)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 13 Jul 2017 20:06:46 +0000 (13 22:06 +0200)
tree30046a8c2e3859e7f7a4a4bab2e0fb18a3eb0ceb
parent961af647fc9ebcdb3e98c8f11b399ebe01169fb1
ovl: remove unneeded check for IS_ERR()

ovl_workdir_create() returns a valid index dentry or NULL.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/super.c