fs/ntfs3: remove atomic_open
authorJeff Layton <jlayton@kernel.org>
Mon, 18 Mar 2024 18:28:50 +0000 (14:28 -0400)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Wed, 17 Apr 2024 12:06:28 +0000 (15:06 +0300)
commit93b4d70f6a4129fcfad18deae248bf89c129d1b5
treed009b89bb6444e4e4fb4576bc21369db702d2100
parentcef359074cad6456aa060f4d701bd519a5c7baff
fs/ntfs3: remove atomic_open

atomic_open is an optional VFS operation, and is primarily for network
filesystems. NFS (for instance) can just send an open call for the last
path component rather than doing a lookup and then having to follow that
up with an open when it doesn't have a dentry in cache.

ntfs3 is a local filesystem however, and its atomic_open just does a
typical lookup + open, but in a convoluted way. atomic_open will also
make directory leases more difficult to implement on the filesystem.

Remove ntfs_atomic_open.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/namei.c