summaryrefslogtreecommitdiff
path: root/rust/helpers/vmalloc.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-09-12 11:28:20 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2025-09-16 23:59:38 -0400
commitfb3d71972bc3112e7dde2426bef6efa1d0a122a7 (patch)
tree8cc17a02eb73bfa684b043de5673860976d9b02d /rust/helpers/vmalloc.c
parentfe91e078b60d1beabf5cef4a37c848457a6d2dfb (diff)
9p: simplify v9fs_vfs_atomic_open()
if v9fs_vfs_lookup() returns a preexisting alias, it is guaranteed to be positive. IOW, in that case we will immediately return finish_no_open(), leaving only the case res == NULL past that point. Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions