Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2221364/?format=api
{ "id": 2221364, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2221364/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260409095926.905020-2-rajasimandalos@gmail.com/", "project": { "id": 12, "url": "http://patchwork.ozlabs.org/api/1.2/projects/12/?format=api", "name": "Linux CIFS Client", "link_name": "linux-cifs-client", "list_id": "linux-cifs.vger.kernel.org", "list_email": "linux-cifs@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260409095926.905020-2-rajasimandalos@gmail.com>", "list_archive_url": null, "date": "2026-04-09T09:59:19", "name": "[2/9] smb: client: allow both 'lease' and 'nolease' mount options", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "4416b2f90793b7747580e9502130c4d371170f5a", "submitter": { "id": 91740, "url": "http://patchwork.ozlabs.org/api/1.2/people/91740/?format=api", "name": "Rajasi Mandal", "email": "rajasimandalos@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260409095926.905020-2-rajasimandalos@gmail.com/mbox/", "series": [ { "id": 499267, "url": "http://patchwork.ozlabs.org/api/1.2/series/499267/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/list/?series=499267", "date": "2026-04-09T09:59:18", "name": "[1/9] smb: client: block non-reconfigurable option changes on remount", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/499267/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2221364/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2221364/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-cifs+bounces-10730-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-cifs@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=HcdRBy64;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.105.105.114; helo=tor.lore.kernel.org;\n envelope-from=linux-cifs+bounces-10730-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=\"HcdRBy64\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.210.176", "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=gmail.com" ], "Received": [ "from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4frwW7540Fz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 09 Apr 2026 20:03:47 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id DBE933072E33\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 9 Apr 2026 10:00:36 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 229F73BD62A;\n\tThu, 9 Apr 2026 09:59:59 +0000 (UTC)", "from mail-pf1-f176.google.com (mail-pf1-f176.google.com\n [209.85.210.176])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 8ADC3388E40\n\tfor <linux-cifs@vger.kernel.org>; Thu, 9 Apr 2026 09:59:54 +0000 (UTC)", "by mail-pf1-f176.google.com with SMTP id\n d2e1a72fcca58-82c68339cf0so419489b3a.0\n for <linux-cifs@vger.kernel.org>;\n Thu, 09 Apr 2026 02:59:54 -0700 (PDT)", "from dev-vm-rm.hzz4ddxqtfeetjrh00qlbgyytb.rx.internal.cloudapp.net\n ([20.197.52.255])\n by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-82cf9c6b80dsm29113671b3a.42.2026.04.09.02.59.48\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 09 Apr 2026 02:59:51 -0700 (PDT)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775728798; cv=none;\n b=Ex/KFwctRsijO+01g+b5kY8dLDGUnrhkfQYV3PnpxzWxy+UX/nDeIslCyOilV6wQlI4bcPy/ocKhPuCE6FBG5hyTi/WKuoATqPo8qWepS3SVpEVBQW3ORPAn2m2shPNwqJU/vhypPs3uuHPtu6j4DumwymJtJT5O/NRYp+gm2oI=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775728798; c=relaxed/simple;\n\tbh=vvd0M/Mz+711aOsS601VbRuhF4hK7peQspPb9+5ynKI=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=rSl4nffGrBMQhQJRz/xUoq/eFUrc3PgN+u5Slaa/RI93jvEi7S5Qd/+8iVjaNsyB8R+XgNG65P++PgIpkbQ/R8njxtWalCsvQIE0rqyH/x3Syh8vhlSyftAOGz9lYHfRH5llgAHcIAGxliIUoCnbNEQ2HcOdIkoirSEJut+53LY=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com;\n spf=pass smtp.mailfrom=gmail.com;\n dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=HcdRBy64; arc=none smtp.client-ip=209.85.210.176", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1775728792; x=1776333592;\n darn=vger.kernel.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=j08sVRHBiUq1wf14pHnVtUsNqT84yk77IOh7rJh2w3I=;\n b=HcdRBy64vSqlU7VzToytyGQBUuK3bluU39PiHOnZ0P4Kn2bS2Sii7Z7vNfODqa/e4K\n yDx83w2QzSqu0iRL/3eb5cgFZTv8o4pjeWoMPQdmtXhmNF6sW+dbrvrFdX2sJHMlPKFE\n LUlmKA0ppwWeNOzyONme7e8Rm12oIv7XpRor8SaFefrWfNFYjLwya76ZLxdejqoLVZxH\n y9Ge5DmKY93WdjyIUns6aDuDfFlWQjzKLDwN03jcJpKrZWeHRrlibuRwxIoMFZr+kV9m\n 1An/F1JJq6aaUqCbcSGQTXThD0R0wyovLudzv/9yF+UjD/5So18oZS0SSkxVSZgEPUk2\n WprA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775728792; x=1776333592;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=j08sVRHBiUq1wf14pHnVtUsNqT84yk77IOh7rJh2w3I=;\n b=fGwmR98Y5NfwUeidjiEwVsFajt+frwcy80kAARjrHG6jaQ/7JmQT25F4h10E318xuN\n cEuhUwaQfoxUaIg747c5XM8Dw/oA7YLoURyNJo3f7awVGx98uRYgcj3m63wgiGKRbGkJ\n Rh3kN9bj4F1yCRuXy/tI1UTwB8gN5DzQyuT56ov8AEY3UneVO5L/ZW3j0EvvAe0ORPFK\n CvW10V88LMkS4MG94+WM57B9kZlMQOaCVQ1Qi0SGQGi8EbXqwEdGjWJgpYxpqXka1A5O\n D1nwljuhf2nUdLEV0CPVTsA53q41ecVQSDVRvoSEsT/nKkW7pwxA5Rxjj3ugylSwBhWv\n 9BUg==", "X-Forwarded-Encrypted": "i=1;\n AJvYcCWVMb5rdAL1Z9AWGTucdTlGjCCz7NV8YTMP8Hj9j+T020py9uqXCI1g/LWIUH91VZRqKTMa7x67jnpv@vger.kernel.org", "X-Gm-Message-State": "AOJu0Yw0q1kfs198z8Uit6RvjKK7bLQND5LdMnDQE8onl+UD05iInASi\n\tK13tsVcRBJwbJCRSW3ahCJQWiftui1GhzMrheafM20gkj14kjQRx8yAo", "X-Gm-Gg": "AeBDiev481CS6DwI3CV5QTgnOuRVDnOVRax86ing56ldqoiz2gGU5xww4YRyUzr80r2\n\tlUmuNxcdOQ5SSeyEGSmeaTIwezpDmX7gy5tpojXr2Sy1e+rS+APVN/CaHz7DoEleznU/CFMPSIQ\n\tzYQPH4QHwi3+eIrMlgVIhJCxcaHFWClXsmuKg7NKBrSr4Z37VqnI8X+x16aWTQWE/2E90CPCNOj\n\tMgPX3MafRIlA1TphdIrsHm8Znr8i42iphwfBuL+mcE3Evkv7O3FoQ7uIt78L5m2RuWyQaSuSmXc\n\tr2GRJkioV97YqqhL47u+grbsy7O71Wq5EXnvb6oZU1nApsLBSxEBa4UJAxnsiXWVyJJ6S0oocXG\n\thZjTqKJyfYq+o0Yhg0/0gBW2YYR8jYKkQrcyYNvS45sF3OBwo/DVa0olQCyf2DsNlR412gdEjqJ\n\tiC7YH+bUeBQkoF/995Gcqr7mfXFTXhVp71yO0uHb+PRF1iauRS9BbXbemtbFh/Y62GgXRRMtnr8\n\t9e6Tz7LrLyQSiQmf2q6Ku08zhbmkII9FA==", "X-Received": "by 2002:a05:6a00:f86:b0:81f:5acb:55fc with SMTP id\n d2e1a72fcca58-82dd8ab8823mr2419175b3a.10.1775728792393;\n Thu, 09 Apr 2026 02:59:52 -0700 (PDT)", "From": "rajasimandalos@gmail.com", "To": "sfrench@samba.org,\n\tlinux-cifs@vger.kernel.org", "Cc": "pc@manguebit.org,\n\tronniesahlberg@gmail.com,\n\tsprasad@microsoft.com,\n\ttom@talpey.com,\n\tmetze@samba.org,\n\tbharathsm@microsoft.com,\n\tsamba-technical@lists.samba.org,\n\tlinux-kernel@vger.kernel.org,\n\tRajasi Mandal <rajasimandal@microsoft.com>", "Subject": "[PATCH 2/9] smb: client: allow both 'lease' and 'nolease' mount\n options", "Date": "Thu, 9 Apr 2026 09:59:19 +0000", "Message-ID": "<20260409095926.905020-2-rajasimandalos@gmail.com>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20260409095926.905020-1-rajasimandalos@gmail.com>", "References": "<20260409095926.905020-1-rajasimandalos@gmail.com>", "Precedence": "bulk", "X-Mailing-List": "linux-cifs@vger.kernel.org", "List-Id": "<linux-cifs.vger.kernel.org>", "List-Subscribe": "<mailto:linux-cifs+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-cifs+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit" }, "content": "From: Rajasi Mandal <rajasimandal@microsoft.com>\n\nChange the nolease mount option from fsparam_flag() to fsparam_flag_no()\nso that both 'lease' and 'nolease' are accepted as valid mount options.\n\nPreviously, only 'nolease' was recognized. Passing 'lease' would fail\nwith an unknown parameter error (or be silently ignored with 'sloppy').\n\nWith this change:\n - 'nolease' disables lease requests (same behavior as before)\n - 'lease' explicitly enables lease requests\n\nThis also renames the enum value from Opt_nolease to Opt_lease and uses\nresult.negated to set ctx->no_lease, which is the standard pattern used\nby other flag_no options in the cifs mount option parser.\n\nSigned-off-by: Rajasi Mandal <rajasimandal@microsoft.com>\n---\n fs/smb/client/fs_context.c | 6 +++---\n fs/smb/client/fs_context.h | 2 +-\n 2 files changed, 4 insertions(+), 4 deletions(-)", "diff": "diff --git a/fs/smb/client/fs_context.c b/fs/smb/client/fs_context.c\nindex 0f6c1eb8e274..e1bf7bad5be6 100644\n--- a/fs/smb/client/fs_context.c\n+++ b/fs/smb/client/fs_context.c\n@@ -80,7 +80,7 @@ const struct fs_parameter_spec smb3_fs_parameters[] = {\n \tfsparam_flag_no(\"forcegid\", Opt_forcegid),\n \tfsparam_flag(\"noblocksend\", Opt_noblocksend),\n \tfsparam_flag(\"noautotune\", Opt_noautotune),\n-\tfsparam_flag(\"nolease\", Opt_nolease),\n+\tfsparam_flag_no(\"lease\", Opt_lease),\n \tfsparam_flag_no(\"hard\", Opt_hard),\n \tfsparam_flag_no(\"soft\", Opt_soft),\n \tfsparam_flag_no(\"perm\", Opt_perm),\n@@ -1572,8 +1572,8 @@ static int smb3_fs_context_parse_param(struct fs_context *fc,\n \tcase Opt_noautotune:\n \t\tctx->noautotune = 1;\n \t\tbreak;\n-\tcase Opt_nolease:\n-\t\tctx->no_lease = 1;\n+\tcase Opt_lease:\n+\t\tctx->no_lease = result.negated;\n \t\tbreak;\n \tcase Opt_nosparse:\n \t\tctx->no_sparse = 1;\ndiff --git a/fs/smb/client/fs_context.h b/fs/smb/client/fs_context.h\nindex 0b64fcb5d302..a80a5caff23c 100644\n--- a/fs/smb/client/fs_context.h\n+++ b/fs/smb/client/fs_context.h\n@@ -102,7 +102,7 @@ enum cifs_param {\n \tOpt_forcegid,\n \tOpt_noblocksend,\n \tOpt_noautotune,\n-\tOpt_nolease,\n+\tOpt_lease,\n \tOpt_nosparse,\n \tOpt_hard,\n \tOpt_soft,\n", "prefixes": [ "2/9" ] }