]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/nfs/unlink.c
nfs_write_end(): fix handling of short copies
[mirror_ubuntu-bionic-kernel.git] / fs / nfs / unlink.c
index 1868246f56e6f0602140c29322d9cf7dc2234501..191aa577dd1f3a2d31b23fd430748e58bd079138 100644 (file)
@@ -162,7 +162,7 @@ static int nfs_call_unlink(struct dentry *dentry, struct nfs_unlinkdata *data)
  * @dentry: dentry to unlink
  */
 static int
-nfs_async_unlink(struct dentry *dentry, struct qstr *name)
+nfs_async_unlink(struct dentry *dentry, const struct qstr *name)
 {
        struct nfs_unlinkdata *data;
        int status = -ENOMEM;