lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <666eabb6-6607-47f4-985a-0d25c764b172@cs.wisc.edu>
Date: Sun, 15 Jun 2025 21:15:49 -0500
From: Junxuan Liao <ljx@...wisc.edu>
To: linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org,
        linux-fsdevel@...r.kernel.org
Cc: "Matthew Wilcox (Oracle)" <willy@...radead.org>,
        Jonathan Corbet <corbet@....net>,
        Alexander Viro <viro@...iv.linux.org.uk>,
        Christian Brauner <brauner@...nel.org>, Jan Kara <jack@...e.cz>
Subject: [PATCH 0/1] docs/vfs: update references to i_mutex to i_rwsem

Hi!

I'm trying to update the VFS documentation and docstrings about the
non-existent i_mutex. Not sure if the distinction between shared and exclusive
usage of i_rwsem is clear and correct across all the changes though.

For instance, does __d_move expect the two i_rwsem to be held exclusively? It
seems to me __d_unalias only uses inode_trylock_shared on the first argument to
__d_move.

Thanks,
Junxuan

Junxuan Liao (1):
  docs/vfs: update references to i_mutex to i_rwsem

 Documentation/filesystems/vfs.rst |  2 +-
 fs/attr.c                         | 10 +++++-----
 fs/buffer.c                       |  2 +-
 fs/dcache.c                       |  4 ++--
 fs/direct-io.c                    |  8 ++++----
 fs/inode.c                        |  9 ++++-----
 fs/libfs.c                        |  5 +++--
 fs/locks.c                        |  2 +-
 fs/namei.c                        | 22 +++++++++++-----------
 fs/namespace.c                    |  2 +-
 fs/stack.c                        |  4 ++--
 fs/xattr.c                        |  2 +-
 include/linux/exportfs.h          |  4 ++--
 include/linux/fs.h                |  6 +++---
 include/linux/fs_stack.h          |  2 +-
 include/linux/quotaops.h          |  2 +-
 16 files changed, 43 insertions(+), 43 deletions(-)


base-commit: 381011d6ae29857c35cbcd8a4ec6594484ecfc84
-- 
2.49.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ