Linux-CIFS Archive mirror
 help / color / mirror / Atom feed
From: Ralph Boehme <slow@samba.org>
To: Shyam Prasad N <nspmangalore@gmail.com>,
	linux-fsdevel <linux-fsdevel@vger.kernel.org>,
	CIFS <linux-cifs@vger.kernel.org>,
	linux-nfs@vger.kernel.org
Subject: Re: "Intent" of VFS lookups
Date: Thu, 23 Apr 2026 19:43:13 +0200	[thread overview]
Message-ID: <438478a7-c965-4a2a-9c4a-84b5f77d6dbe@samba.org> (raw)
In-Reply-To: <CANT5p=oV8kcE6hXPoUVQAYGaiz+2OERoSRLAS6X+q9KJ_8w8YQ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 477 bytes --]

On 4/23/26 7:01 PM, Shyam Prasad N wrote:
> Wanted to understand if this is a problem for other filesystems or if
> it is specific to SMB protocol?
> SMB2+ protocol mandate that open call specifies if the file being
> opened is a directory or not (regular file).
sure? From memory (though the logic has always kind of escaped me) if 
you neither specify FILE_DIRECTORY_FILE nor FILE_NON_DIRECTORY_FILE the 
server is supposed to open the object regardless of the type.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

  reply	other threads:[~2026-04-23 17:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-23 17:01 "Intent" of VFS lookups Shyam Prasad N
2026-04-23 17:43 ` Ralph Boehme [this message]
2026-04-24 13:20   ` Shyam Prasad N
2026-04-24 13:41     ` Tom Talpey
2026-04-28 16:12       ` Shyam Prasad N

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=438478a7-c965-4a2a-9c4a-84b5f77d6dbe@samba.org \
    --to=slow@samba.org \
    --cc=linux-cifs@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=nspmangalore@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).