|
@@ -1275,7 +1275,6 @@ nfsd_create(struct svc_rqst *rqstp, struct svc_fh *fhp,
|
|
int type, dev_t rdev, struct svc_fh *resfhp)
|
|
int type, dev_t rdev, struct svc_fh *resfhp)
|
|
{
|
|
{
|
|
struct dentry *dentry, *dchild = NULL;
|
|
struct dentry *dentry, *dchild = NULL;
|
|
- struct inode *dirp;
|
|
|
|
__be32 err;
|
|
__be32 err;
|
|
int host_err;
|
|
int host_err;
|
|
|
|
|
|
@@ -1287,7 +1286,6 @@ nfsd_create(struct svc_rqst *rqstp, struct svc_fh *fhp,
|
|
return err;
|
|
return err;
|
|
|
|
|
|
dentry = fhp->fh_dentry;
|
|
dentry = fhp->fh_dentry;
|
|
- dirp = d_inode(dentry);
|
|
|
|
|
|
|
|
host_err = fh_want_write(fhp);
|
|
host_err = fh_want_write(fhp);
|
|
if (host_err)
|
|
if (host_err)
|