Re: [git pull] vfs.git misc stuff

2021-02-27 Thread Al Viro
On Sat, Feb 27, 2021 at 08:21:55AM -0800, Linus Torvalds wrote:
> On Fri, Feb 26, 2021 at 10:00 PM Al Viro  wrote:
> >
> > Al Viro (3):
> >   9p: fix misuse of sscanf() in v9fs_stat2inode()
> 
> Hmm. Technically this changes some of the rules. It used to check that
> i tall fit in 32 bytes. Now there could be arbitrary spaces in there
> that pushes it over the limit.
> 
> I don't think we care, but..

I doubt that something was sending "HARDLINKCOUNT 123"
*and* relying upon the truncation to have that parsed as 1 rather than 123...


Re: [git pull] vfs.git misc stuff

2021-02-27 Thread pr-tracker-bot
The pull request you sent on Sat, 27 Feb 2021 06:00:29 +:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/5ceabb6078b80a8544ba86d6ee523ad755ae6d5e

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


Re: [git pull] vfs.git misc stuff

2021-02-27 Thread Linus Torvalds
On Fri, Feb 26, 2021 at 10:00 PM Al Viro  wrote:
>
> Al Viro (3):
>   9p: fix misuse of sscanf() in v9fs_stat2inode()

Hmm. Technically this changes some of the rules. It used to check that
i tall fit in 32 bytes. Now there could be arbitrary spaces in there
that pushes it over the limit.

I don't think we care, but..

 Linus


[git pull] vfs.git misc stuff

2021-02-26 Thread Al Viro
Assorted stuff pile - no common topic here.
One trivial conflict in Documentation/filesystems/porting.rst  

The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e:

  Linux 5.11-rc1 (2020-12-27 15:30:22 -0800)

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 6f24784f00f2b5862b367caeecc5cca22a77faa3:

  whack-a-mole: don't open-code iminor/imajor (2021-02-23 10:25:29 -0500)


Al Viro (3):
  audit_alloc_mark(): don't open-code ERR_CAST()
  9p: fix misuse of sscanf() in v9fs_stat2inode()
  whack-a-mole: don't open-code iminor/imajor

Eric Biggers (2):
  vfs: don't unnecessarily clone write access for writable fds
  fs/inode.c: make inode_init_always() initialize i_ino to 0

 Documentation/filesystems/porting.rst  |  7 +
 arch/sh/boards/mach-landisk/gio.c  |  6 ++--
 drivers/block/loop.c   |  2 +-
 drivers/dax/super.c|  2 +-
 drivers/rtc/rtc-m41t80.c   |  4 +--
 drivers/s390/char/vmur.c   |  2 +-
 drivers/staging/vme/devices/vme_user.c | 12 
 fs/9p/vfs_inode.c  | 21 ++
 fs/gfs2/inode.c|  4 +--
 fs/inode.c |  1 +
 fs/jfs/super.c |  1 -
 fs/namespace.c | 53 +-
 include/linux/mount.h  |  1 -
 kernel/audit_fsnotify.c|  2 +-
 14 files changed, 53 insertions(+), 65 deletions(-)


Re: [git pull] vfs.git misc stuff

2020-12-25 Thread pr-tracker-bot
The pull request you sent on Thu, 24 Dec 2020 23:35:07 +:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/7bb5226c8a4bbf26a9ededc90532b0ad539d2017

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html


[git pull] vfs.git misc stuff

2020-12-24 Thread Al Viro
Assorted patches from previous cycle(s)...

The following changes since commit b65054597872ce3aefbc6a666385eabdf9e288da:

  Linux 5.10-rc6 (2020-11-29 15:50:50 -0800)

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 2e2cbaf920d14de9a96180ddefd6861bcc46f07d:

  fix hostfs_open() use of ->f_path.dentry (2020-12-21 21:42:29 -0500)


Al Viro (2):
  Make sure that make_create_in_sticky() never sees uninitialized value of 
dir_mode
  fix hostfs_open() use of ->f_path.dentry

Eric Biggers (1):
  fs/namespace.c: WARN if mnt_count has become negative

Hao Li (2):
  fs: Handle I_DONTCACHE in iput_final() instead of generic_drop_inode()
  fs: Kill DCACHE_DONTCACHE dentry even if DCACHE_REFERENCED is set

 fs/dcache.c | 9 -
 fs/hostfs/hostfs_kern.c | 2 +-
 fs/inode.c  | 4 +++-
 fs/namei.c  | 4 +++-
 fs/namespace.c  | 9 ++---
 fs/pnode.h  | 2 +-
 include/linux/fs.h  | 3 +--
 7 files changed, 23 insertions(+), 10 deletions(-)


[git pull] vfs.git - misc stuff

2018-08-12 Thread Al Viro
misc cleanups from various folks all over the place

The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40:

  Linux 4.18-rc1 (2018-06-17 08:04:49 +0900)

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 7964410fcf135d7e76deef4e475816ec02482f7b:

  fs: dcache: Use true and false for boolean values (2018-08-05 15:52:44 -0400)


Al Viro (1):
  fold generic_readlink() into its only caller

Amir Goldstein (1):
  fs: shave 8 bytes off of struct inode

Gustavo A. R. Silva (1):
  fs: dcache: Use true and false for boolean values

Matthew Wilcox (2):
  fs: Fix attr.c kernel-doc
  fs: Add more kernel-doc to the produced documentation

Vasily Averin (1):
  removed extra extern file_fdatawait_range

 Documentation/filesystems/index.rst | 33 +
 fs/attr.c   |  5 +++--
 fs/dcache.c | 12 ++--
 fs/namei.c  | 36 
 include/linux/fs.h  |  7 +++
 5 files changed, 57 insertions(+), 36 deletions(-)


[git pull] vfs.git - misc stuff

2018-08-12 Thread Al Viro
misc cleanups from various folks all over the place

The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40:

  Linux 4.18-rc1 (2018-06-17 08:04:49 +0900)

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 7964410fcf135d7e76deef4e475816ec02482f7b:

  fs: dcache: Use true and false for boolean values (2018-08-05 15:52:44 -0400)


Al Viro (1):
  fold generic_readlink() into its only caller

Amir Goldstein (1):
  fs: shave 8 bytes off of struct inode

Gustavo A. R. Silva (1):
  fs: dcache: Use true and false for boolean values

Matthew Wilcox (2):
  fs: Fix attr.c kernel-doc
  fs: Add more kernel-doc to the produced documentation

Vasily Averin (1):
  removed extra extern file_fdatawait_range

 Documentation/filesystems/index.rst | 33 +
 fs/attr.c   |  5 +++--
 fs/dcache.c | 12 ++--
 fs/namei.c  | 36 
 include/linux/fs.h  |  7 +++
 5 files changed, 57 insertions(+), 36 deletions(-)


[git pull] vfs.git misc stuff

2017-05-08 Thread Al Viro
Assorted bits and pieces from various people.  No common topic in
that pile, sorry.

The following changes since commit 4f7d029b9bf009fbee76bb10c0c4351a1870d2f3:

  Linux 4.11-rc7 (2017-04-16 13:00:18 -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 6b4657667ba06cd2e07206c65e630acdf248bfd1:

  fs/affs: add rename exchange (2017-05-05 15:24:52 -0400)


Al Viro (1):
  remove pointless extern of atime_need_update_rcu()

Christoph Hellwig (2):
  fs: add a VALID_OPEN_FLAGS
  fs: completely ignore unknown open flags

David Howells (1):
  Make stat/lstat/fstatat pass AT_NO_AUTOMOUNT to vfs_statx()

Eric Biggers (2):
  fs: constify tree_descr arrays passed to simple_fill_super()
  fs: remove _submit_bh()

Fabian Frederick (7):
  fs/affs: bugfix: make symbolic links work again
  fs/affs: import amigaffs.h
  fs/affs: remove node generation check
  fs/affs: bugfix: enable writes on OFS disks
  fs/affs: bugfix: Write files greater than page size on OFS
  fs/affs: add rename2 to prepare multiple methods
  fs/affs: add rename exchange

Geliang Tang (1):
  fs: drop duplicate header percpu-rwsem.h

Josef Bacik (1):
  fs: don't set *REFERENCED on single use objects

Mark Charlebois (1):
  fs: compat: Remove warning from COMPATIBLE_IOCTL

 drivers/infiniband/hw/qib/qib_fs.c|  2 +-
 drivers/xen/xenfs/super.c |  4 +-
 fs/affs/affs.h|  4 +-
 {include/linux => fs/affs}/amigaffs.h |  0
 fs/affs/dir.c |  2 +-
 fs/affs/file.c| 10 ++--
 fs/affs/inode.c   |  1 +
 fs/affs/namei.c   | 87 +--
 fs/binfmt_misc.c  |  2 +-
 fs/buffer.c   | 19 ++--
 fs/compat_ioctl.c |  2 +-
 fs/dcache.c   |  4 +-
 fs/debugfs/inode.c|  2 +-
 fs/fcntl.c| 14 ++
 fs/fuse/control.c |  2 +-
 fs/inode.c|  3 +-
 fs/internal.h |  2 -
 fs/libfs.c|  2 +-
 fs/nfsd/nfsctl.c  |  2 +-
 fs/open.c |  6 +++
 fs/tracefs/inode.c|  2 +-
 include/linux/buffer_head.h   |  2 -
 include/linux/fcntl.h |  6 +++
 include/linux/fs.h| 14 +++---
 kernel/bpf/inode.c|  2 +-
 security/inode.c  |  2 +-
 security/selinux/selinuxfs.c  |  4 +-
 security/smack/smackfs.c  |  2 +-
 28 files changed, 130 insertions(+), 74 deletions(-)
 rename {include/linux => fs/affs}/amigaffs.h (100%)


[git pull] vfs.git misc stuff

2017-05-08 Thread Al Viro
Assorted bits and pieces from various people.  No common topic in
that pile, sorry.

The following changes since commit 4f7d029b9bf009fbee76bb10c0c4351a1870d2f3:

  Linux 4.11-rc7 (2017-04-16 13:00:18 -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 6b4657667ba06cd2e07206c65e630acdf248bfd1:

  fs/affs: add rename exchange (2017-05-05 15:24:52 -0400)


Al Viro (1):
  remove pointless extern of atime_need_update_rcu()

Christoph Hellwig (2):
  fs: add a VALID_OPEN_FLAGS
  fs: completely ignore unknown open flags

David Howells (1):
  Make stat/lstat/fstatat pass AT_NO_AUTOMOUNT to vfs_statx()

Eric Biggers (2):
  fs: constify tree_descr arrays passed to simple_fill_super()
  fs: remove _submit_bh()

Fabian Frederick (7):
  fs/affs: bugfix: make symbolic links work again
  fs/affs: import amigaffs.h
  fs/affs: remove node generation check
  fs/affs: bugfix: enable writes on OFS disks
  fs/affs: bugfix: Write files greater than page size on OFS
  fs/affs: add rename2 to prepare multiple methods
  fs/affs: add rename exchange

Geliang Tang (1):
  fs: drop duplicate header percpu-rwsem.h

Josef Bacik (1):
  fs: don't set *REFERENCED on single use objects

Mark Charlebois (1):
  fs: compat: Remove warning from COMPATIBLE_IOCTL

 drivers/infiniband/hw/qib/qib_fs.c|  2 +-
 drivers/xen/xenfs/super.c |  4 +-
 fs/affs/affs.h|  4 +-
 {include/linux => fs/affs}/amigaffs.h |  0
 fs/affs/dir.c |  2 +-
 fs/affs/file.c| 10 ++--
 fs/affs/inode.c   |  1 +
 fs/affs/namei.c   | 87 +--
 fs/binfmt_misc.c  |  2 +-
 fs/buffer.c   | 19 ++--
 fs/compat_ioctl.c |  2 +-
 fs/dcache.c   |  4 +-
 fs/debugfs/inode.c|  2 +-
 fs/fcntl.c| 14 ++
 fs/fuse/control.c |  2 +-
 fs/inode.c|  3 +-
 fs/internal.h |  2 -
 fs/libfs.c|  2 +-
 fs/nfsd/nfsctl.c  |  2 +-
 fs/open.c |  6 +++
 fs/tracefs/inode.c|  2 +-
 include/linux/buffer_head.h   |  2 -
 include/linux/fcntl.h |  6 +++
 include/linux/fs.h| 14 +++---
 kernel/bpf/inode.c|  2 +-
 security/inode.c  |  2 +-
 security/selinux/selinuxfs.c  |  4 +-
 security/smack/smackfs.c  |  2 +-
 28 files changed, 130 insertions(+), 74 deletions(-)
 rename {include/linux => fs/affs}/amigaffs.h (100%)