]> Pileus Git - ~andy/linux/blobdiff - fs/nfsd/vfs.c
Merge branch 'for-2.6.39' of git://linux-nfs.org/~bfields/linux
[~andy/linux] / fs / nfsd / vfs.c
index ff93025ae2f7ccdfe2740933c96e293a10b8ab31..2e1cebde90df4c69baa21635e959f9d81c9809f1 100644 (file)
@@ -1749,8 +1749,6 @@ nfsd_rename(struct svc_rqst *rqstp, struct svc_fh *ffhp, char *fname, int flen,
                if (host_err)
                        goto out_drop_write;
        }
-       if (host_err)
-               goto out_drop_write;
        host_err = vfs_rename(fdir, odentry, tdir, ndentry);
        if (!host_err) {
                host_err = commit_metadata(tfhp);