LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [git pull] vfs, pile 4
@ 2018-06-04 18:18 Al Viro
  2018-06-04 18:24 ` Linus Torvalds
  0 siblings, 1 reply; 5+ messages in thread
From: Al Viro @ 2018-06-04 18:18 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-fsdevel, linux-kernel

	Cleaning ->lookup() instances up - mostly d_splice_alias() conversions.

The following changes since commit baf10564fbb66ea222cae66fbff11c444590ffd9:

  aio: fix io_destroy(2) vs. lookup_ioctx() race (2018-05-21 14:30:11 -0400)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.lookup

for you to fetch changes up to 888e2b03ef56694290e58bd9ac23f8033bf6369f:

  switch the rest of procfs lookups to d_splice_alias() (2018-05-26 14:20:50 -0400)

----------------------------------------------------------------
Al Viro (30):
      Merge branch 'work.misc' into work.lookup
      bfs_lookup(): use d_splice_alias()
      bfs_find_entry: pass name/len as qstr pointer
      bfs_add_entry: pass name/len as qstr pointer
      cramfs_lookup(): use d_splice_alias()
      freevxfs_lookup(): use d_splice_alias()
      minix_lookup: use d_splice_alias()
      qnx4_lookup: use d_splice_alias()
      sysv_lookup: use d_splice_alias()
      ubifs_lookup: use d_splice_alias()
      qnx6_lookup: switch to d_splice_alias()
      romfs_lookup: switch to d_splice_alias()
      adfs_lookup_byname: .. *is* taken care of in fs/namei.c
      adfs_lookup: do not fail with ENOENT on negatives, use d_splice_alias()
      xfs_vn_lookup: simplify a bit
      openpromfs: switch to d_splice_alias()
      orangefs_lookup: simplify
      omfs_lookup(): report IO errors, use d_splice_alias()
      hfs: use d_splice_alias()
      hfs: don't allow mounting over .../rsrc
      hfsplus: switch to d_splice_alias()
      ncp_lookup(): use d_splice_alias()
      9p: unify paths in v9fs_vfs_lookup()
      cifs_lookup(): cifs_get_inode_...() never returns 0 with *inode left NULL
      cifs_lookup(): switch to d_splice_alias()
      procfs: get rid of ancient BS in pid_revalidate() uses
      proc_lookupfd_common(): don't bother with instantiate unless the file is open
      don't bother with tid_fd_revalidate() in lookups
      procfs: switch instantiate_t to d_splice_alias()
      switch the rest of procfs lookups to d_splice_alias()

 drivers/staging/ncpfs/dir.c        |  42 ++++-------
 fs/9p/vfs_inode.c                  |  35 ++++------
 fs/adfs/dir.c                      |  24 ++-----
 fs/bfs/dir.c                       |  43 +++++-------
 fs/cifs/dir.c                      |  38 +++++-----
 fs/cramfs/inode.c                  |   5 +-
 fs/dcache.c                        |  83 +++++++++-------------
 fs/fat/namei_msdos.c               |   4 --
 fs/fat/namei_vfat.c                |  13 +---
 fs/freevxfs/vxfs_lookup.c          |   8 +--
 fs/hfs/dir.c                       |  20 ++----
 fs/hfs/inode.c                     |   4 +-
 fs/hfsplus/dir.c                   |   3 +-
 fs/minix/namei.c                   |   8 +--
 fs/namei.c                         |   4 +-
 fs/omfs/dir.c                      |   7 +-
 fs/openpromfs/inode.c              |   3 +-
 fs/orangefs/namei.c                |  64 +++--------------
 fs/proc/base.c                     | 136 ++++++++++++++++--------------------
 fs/proc/fd.c                       | 138 ++++++++++++++++++++-----------------
 fs/proc/generic.c                  |   3 +-
 fs/proc/internal.h                 |   4 +-
 fs/proc/namespaces.c               |  24 +++----
 fs/proc/proc_sysctl.c              |  15 +++-
 fs/qnx4/namei.c                    |   8 +--
 fs/qnx6/namei.c                    |   8 +--
 fs/read_write.c                    |   6 +-
 fs/romfs/super.c                   |  36 +++-------
 fs/super.c                         |   2 +-
 fs/sysv/namei.c                    |   9 +--
 fs/ubifs/dir.c                     |  43 ++++--------
 fs/xattr.c                         |   3 +-
 fs/xfs/xfs_iops.c                  |  16 ++---
 include/linux/fs.h                 |   2 +-
 include/linux/sunrpc/rpc_pipe_fs.h |   2 -
 include/linux/xattr.h              |   1 -
 net/sunrpc/rpc_pipe.c              |  16 -----
 security/selinux/hooks.c           |   7 +-
 38 files changed, 338 insertions(+), 549 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [git pull] vfs, pile 4
  2018-06-04 18:18 [git pull] vfs, pile 4 Al Viro
@ 2018-06-04 18:24 ` Linus Torvalds
  2018-06-04 18:37   ` Al Viro
  0 siblings, 1 reply; 5+ messages in thread
From: Linus Torvalds @ 2018-06-04 18:24 UTC (permalink / raw)
  To: Al Viro; +Cc: linux-fsdevel, Linux Kernel Mailing List

Trouble counting to five, Al?

I'm getting "one, two, many" vibes.

                 Linus

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [git pull] vfs, pile 4
  2018-06-04 18:24 ` Linus Torvalds
@ 2018-06-04 18:37   ` Al Viro
  2018-06-04 18:40     ` Linus Torvalds
  0 siblings, 1 reply; 5+ messages in thread
From: Al Viro @ 2018-06-04 18:37 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-fsdevel, Linux Kernel Mailing List

On Mon, Jun 04, 2018 at 11:24:38AM -0700, Linus Torvalds wrote:
> Trouble counting to five, Al?
> 
> I'm getting "one, two, many" vibes.

*blink*

FWIW, originally I considered combining the first two (they are
closely connected), but in the end decided to send them as two
separate pull requests.

So consider today's pile 4 as #5 and 5 - as #6 (or, better yet,
"->lookup() cleanups" and "most of aio stuff").  Sorry...

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [git pull] vfs, pile 4
  2018-06-04 18:37   ` Al Viro
@ 2018-06-04 18:40     ` Linus Torvalds
  0 siblings, 0 replies; 5+ messages in thread
From: Linus Torvalds @ 2018-06-04 18:40 UTC (permalink / raw)
  To: Al Viro; +Cc: linux-fsdevel, Linux Kernel Mailing List

On Mon, Jun 4, 2018 at 11:37 AM Al Viro <viro@zeniv.linux.org.uk> wrote:
>
> So consider today's pile 4 as #5 and 5 - as #6 (or, better yet,
> "->lookup() cleanups" and "most of aio stuff").  Sorry...

Heh. I do something like that anyway, ie the four first ones are marked as

    Pull dcache updates from Al Viro:
    Pull rmdir update from Al Viro:
    Pull procfs updates from Al Viro:
    Pull misc vfs updates from Al Viro:

rather than enumerated. Maybe you should just do that yourself, since
counting is clearly a problem ;)

              Linus

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [git pull] vfs, pile 4
@ 2018-06-04  1:18 Al Viro
  0 siblings, 0 replies; 5+ messages in thread
From: Al Viro @ 2018-06-04  1:18 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-fsdevel, linux-kernel

	misc bits and pieces not fitting into anything more specific.
That's probably it for tonight; more to follow tomorrow...

The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338:

  Linux 4.17-rc1 (2018-04-15 18:24:20 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.misc

for you to fetch changes up to eb915375757cd32c5abf7aea4caa76fe7edf8ef4:

  vfs: delete unnecessary assignment in vfs_listxattr (2018-05-29 13:22:41 -0400)

----------------------------------------------------------------
Al Viro (7):
      remove rpc_rmdir()
      msdos_rmdir(): kill BS comment
      it's SB_BORN, not MS_BORN...
      get rid of dead code in d_find_alias()
      vfat: simplify checks in vfat_lookup()
      make xattr_getsecurity() static
      __inode_security_revalidate() never gets NULL opt_dentry

Chengguang Xu (1):
      vfs: delete unnecessary assignment in vfs_listxattr

Danilo Krummrich (1):
      vfs: namei: use path_equal() in follow_dotdot()

Li Qiang (1):
      fs.h: fix outdated comment about file flags

Sean Anderson (1):
      Documentation: filesystems: update filesystem locking documentation

Zev Weiss (1):
      fs: avoid fdput() after failed fdget() in vfs_dedupe_file_range()

 Documentation/filesystems/Locking  | 43 +++++++++++---------
 fs/dcache.c                        | 83 ++++++++++++++++----------------------
 fs/fat/namei_msdos.c               |  4 --
 fs/fat/namei_vfat.c                | 13 +-----
 fs/namei.c                         |  4 +-
 fs/read_write.c                    |  6 +--
 fs/super.c                         |  2 +-
 fs/xattr.c                         |  4 +-
 include/linux/fs.h                 |  2 +-
 include/linux/sunrpc/rpc_pipe_fs.h |  2 -
 include/linux/xattr.h              |  1 -
 net/sunrpc/rpc_pipe.c              | 16 --------
 security/selinux/hooks.c           |  7 ++--
 13 files changed, 69 insertions(+), 118 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-06-04 18:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-04 18:18 [git pull] vfs, pile 4 Al Viro
2018-06-04 18:24 ` Linus Torvalds
2018-06-04 18:37   ` Al Viro
2018-06-04 18:40     ` Linus Torvalds
  -- strict thread matches above, loose matches on Subject: below --
2018-06-04  1:18 Al Viro

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 NNTP newsgroup(s).