Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 27 Feb 2021 16:07:12 +0000 (08:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 27 Feb 2021 16:07:12 +0000 (08:07 -0800)
Pull misc vfs updates from Al Viro:
 "Assorted stuff pile - no common topic here"

* 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
  whack-a-mole: don't open-code iminor/imajor
  9p: fix misuse of sscanf() in v9fs_stat2inode()
  audit_alloc_mark(): don't open-code ERR_CAST()
  fs/inode.c: make inode_init_always() initialize i_ino to 0
  vfs: don't unnecessarily clone write access for writable fds

1  2 
Documentation/filesystems/porting.rst
drivers/block/loop.c
drivers/rtc/rtc-m41t80.c
drivers/staging/vme/devices/vme_user.c
fs/9p/vfs_inode.c
fs/gfs2/inode.c
fs/inode.c
fs/namespace.c
include/linux/mount.h

index 633610253f45d25e98a1c64a515ef3b2c80725d0,6a6d3e673b489585e8548e133da0ea660ebc6980..0302035781beb0bc1af82ad51bcda83c57428d70
@@@ -872,14 -870,5 +872,21 @@@ its result is kern_unmount() or kern_un
  
  **mandatory**
  
 +zero-length bvec segments are disallowed, they must be filtered out before
 +passed on to an iterator.
 +
 +---
 +
 +**mandatory**
 +
 +For bvec based itererators bio_iov_iter_get_pages() now doesn't copy bvecs but
 +uses the one provided. Anyone issuing kiocb-I/O should ensure that the bvec and
 +page references stay until I/O has completed, i.e. until ->ki_complete() has
 +been called or returned with non -EIOCBQUEUED code.
++
++---
++
++**mandatory**
++
+ mnt_want_write_file() can now only be paired with mnt_drop_write_file(),
+ whereas previously it could be paired with mnt_drop_write() as well.
Simple merge
Simple merge
Simple merge
diff --cc fs/gfs2/inode.c
Simple merge
diff --cc fs/inode.c
Simple merge
diff --cc fs/namespace.c
Simple merge
Simple merge