All of lore.kernel.org
 help / color / mirror / Atom feed
* [git pull] vfs, part 1
@ 2010-10-26 23:17 Al Viro
  2010-10-27  3:19 ` fix braino in fs: do not assign default i_ino in new_inode Al Viro
  0 siblings, 1 reply; 6+ messages in thread
From: Al Viro @ 2010-10-26 23:17 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel

	That should cover most of the misc stuff + beginning of unification
of icache scalability patchsets.  Actual locking changes are _not_ in that
set yet.  Please pull from the usual place (
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6.git #for-linus
); more to follow.

Shortlog:

Al Viro (10):
      ext2_remount: don't bother with invalidate_inodes()
      gfs2: invalidate_inodes() is no-op there
      ntfs: don't call invalidate_inodes()
      smbfs never retains inodes with zero refcount in the first place
      unexport invalidate_inodes
      new helper: inode_unhashed()
      list.h: new helper - hlist_add_fake()
      switch hfs to hlist_add_fake()
      new helper: ihold()
      split invalidate_inodes()

Chris Mason (1):
      aio: bump i_count instead of using igrab

Christoph Hellwig (23):
      fs: move permission check back into __lookup_hash
      fs: add sync_inode_metadata
      fs: mark destroy_inode static
      fs: kill block_prepare_write
      hfs: use sync_dirty_buffer
      update block_device_operations documentation
      fs: Stop abusing find_inode_fast in iunique
      fs: move i_count increments into find_inode/find_inode_fast
      fs: remove inode_add_to_list/__inode_add_to_list
      fs: do not assign default i_ino in new_inode
      fs: take dcache_lock inside __d_path
      fs: simplify __d_free
      fs: use percpu counter for nr_dentry and nr_dentry_unused
      fs: split __shrink_dcache_sb
      fs: clean up dentry lru modification
      fs: use RCU read side protection in d_validate
      exportfs: use dget_parent
      smbfs: use dget_parent
      fsnotify: use dget_parent
      fs: fix buffer invalidation in invalidate_list
      fs: do not drop inode_lock in dispose_list
      fs: fold invalidate_list into invalidate_inodes
      fs: skip I_FREEING inodes in writeback_sb_inodes

Dan Carpenter (1):
      affs: testing the wrong variable

Dave Chinner (3):
      fs: Convert nr_inodes and nr_unused to per-cpu counters
      fs: Factor inode hash operations into functions
      fs: switch bdev inode bdi's correctly

Eric Dumazet (2):
      fs: allow for more than 2^31 files
      fs: introduce a per-cpu last_ino allocator

Jan Kara (1):
      isofs: Fix isofs_get_blocks for 8TB files

KAMEZAWA Hiroyuki (1):
      vfs: introduce FMODE_UNSIGNED_OFFSET for allowing negative f_pos

Miklos Szeredi (1):
      vfs: fix infinite loop caused by clone_mnt race

Namhyung Kim (3):
      fs/buffer.c: remove duplicated assignment on b_private
      lockdep: fixup checking of dir inode annotation
      fs/buffer.c: call __block_write_begin() if we have page

Nick Piggin (3):
      fs: Implement lazy LRU updates for inodes
      fs: improve DCACHE_REFERENCED usage
      fs: inode split IO and LRU lists

Randy Dunlap (1):
      fs: move exportfs since it is not a networking filesystem

Richard Weinberger (1):
      hostfs: fix UML crash: remove f_spare from hostfs

Valerie Aurora (1):
      Documentation: Fix trivial typo in filesystems/sharedsubtree.txt

Diffstat:
 Documentation/filesystems/Locking           |   31 ++-
 Documentation/filesystems/sharedsubtree.txt |    4 +-
 drivers/char/mem.c                          |    4 +
 drivers/infiniband/hw/ipath/ipath_fs.c      |    1 +
 drivers/infiniband/hw/qib/qib_fs.c          |    1 +
 drivers/misc/ibmasm/ibmasmfs.c              |    1 +
 drivers/oprofile/oprofilefs.c               |    1 +
 drivers/staging/pohmelfs/inode.c            |    6 +-
 drivers/usb/core/inode.c                    |    1 +
 drivers/usb/gadget/f_fs.c                   |    1 +
 drivers/usb/gadget/inode.c                  |    1 +
 fs/9p/vfs_inode.c                           |    5 +-
 fs/Kconfig                                  |    6 +-
 fs/affs/file.c                              |    4 +-
 fs/affs/inode.c                             |    2 +-
 fs/afs/dir.c                                |    2 +-
 fs/aio.c                                    |   14 +-
 fs/anon_inodes.c                            |    6 +-
 fs/autofs4/inode.c                          |    1 +
 fs/bfs/dir.c                                |    2 +-
 fs/binfmt_misc.c                            |    1 +
 fs/block_dev.c                              |   34 ++-
 fs/btrfs/inode.c                            |    4 +-
 fs/buffer.c                                 |   27 +-
 fs/coda/dir.c                               |    2 +-
 fs/configfs/inode.c                         |    1 +
 fs/dcache.c                                 |  277 ++++++++-------
 fs/debugfs/inode.c                          |    1 +
 fs/exofs/file.c                             |    6 +-
 fs/exofs/namei.c                            |    2 +-
 fs/exportfs/expfs.c                         |   17 +-
 fs/ext2/dir.c                               |    2 +-
 fs/ext2/ext2.h                              |    1 -
 fs/ext2/inode.c                             |   11 +-
 fs/ext2/namei.c                             |    2 +-
 fs/ext2/super.c                             |    4 +-
 fs/ext2/xattr.c                             |    2 +-
 fs/ext3/inode.c                             |    4 +-
 fs/ext3/namei.c                             |    2 +-
 fs/ext4/inode.c                             |   11 +-
 fs/ext4/mballoc.c                           |    1 +
 fs/ext4/namei.c                             |    2 +-
 fs/file_table.c                             |   17 +-
 fs/freevxfs/vxfs_inode.c                    |    1 +
 fs/fs-writeback.c                           |   80 +++--
 fs/fuse/control.c                           |    1 +
 fs/gfs2/aops.c                              |    3 +-
 fs/gfs2/ops_fstype.c                        |    1 -
 fs/gfs2/ops_inode.c                         |    8 +-
 fs/gfs2/super.c                             |    1 -
 fs/hfs/hfs_fs.h                             |   13 -
 fs/hfs/inode.c                              |    2 +-
 fs/hfs/mdb.c                                |    4 +-
 fs/hfs/super.c                              |    1 -
 fs/hfsplus/dir.c                            |    2 +-
 fs/hfsplus/inode.c                          |    2 +-
 fs/hostfs/hostfs.h                          |    3 +-
 fs/hostfs/hostfs_kern.c                     |    2 +-
 fs/hostfs/hostfs_user.c                     |    9 +-
 fs/hugetlbfs/inode.c                        |    1 +
 fs/inode.c                                  |  526 +++++++++++++++++----------
 fs/internal.h                               |    7 +
 fs/isofs/inode.c                            |   17 +-
 fs/jffs2/dir.c                              |    4 +-
 fs/jfs/jfs_imap.c                           |    2 +-
 fs/jfs/jfs_txnmgr.c                         |    2 +-
 fs/jfs/namei.c                              |    2 +-
 fs/libfs.c                                  |    8 +-
 fs/logfs/dir.c                              |    2 +-
 fs/minix/namei.c                            |    2 +-
 fs/namei.c                                  |   16 +-
 fs/namespace.c                              |    2 +-
 fs/nfs/dir.c                                |    2 +-
 fs/nfs/getroot.c                            |    3 +-
 fs/nfsd/vfs.c                               |   16 +-
 fs/nilfs2/namei.c                           |    2 +-
 fs/notify/fsnotify.c                        |   33 +--
 fs/notify/inode_mark.c                      |    2 +
 fs/ntfs/super.c                             |   19 +-
 fs/ocfs2/aops.c                             |   19 +-
 fs/ocfs2/aops.h                             |    3 -
 fs/ocfs2/dlmfs/dlmfs.c                      |    2 +
 fs/ocfs2/file.c                             |    9 +-
 fs/ocfs2/namei.c                            |    2 +-
 fs/pipe.c                                   |    2 +
 fs/proc/base.c                              |    4 +
 fs/proc/proc_sysctl.c                       |    2 +
 fs/ramfs/inode.c                            |    1 +
 fs/read_write.c                             |   28 ++-
 fs/reiserfs/inode.c                         |   24 +-
 fs/reiserfs/ioctl.c                         |    6 +-
 fs/reiserfs/namei.c                         |    2 +-
 fs/reiserfs/xattr.c                         |    7 +-
 fs/seq_file.c                               |    2 -
 fs/smbfs/dir.c                              |   16 +-
 fs/smbfs/inode.c                            |    1 -
 fs/smbfs/proc.c                             |   10 +-
 fs/super.c                                  |    8 +-
 fs/sysv/namei.c                             |    2 +-
 fs/ubifs/dir.c                              |    2 +-
 fs/udf/namei.c                              |    2 +-
 fs/ufs/namei.c                              |    2 +-
 fs/xfs/linux-2.6/xfs_buf.c                  |    1 +
 fs/xfs/linux-2.6/xfs_iops.c                 |    6 +-
 fs/xfs/linux-2.6/xfs_super.c                |    2 +-
 fs/xfs/xfs_inode.h                          |    2 +-
 include/linux/buffer_head.h                 |    1 -
 include/linux/fs.h                          |   47 ++-
 include/linux/list.h                        |    6 +
 include/linux/reiserfs_fs.h                 |    2 +
 include/linux/writeback.h                   |    2 -
 ipc/mqueue.c                                |    3 +-
 kernel/cgroup.c                             |    1 +
 kernel/futex.c                              |    2 +-
 kernel/sysctl.c                             |   12 +-
 mm/backing-dev.c                            |    6 +-
 mm/shmem.c                                  |    7 +-
 net/socket.c                                |    3 +-
 net/sunrpc/rpc_pipe.c                       |    1 +
 net/unix/af_unix.c                          |   14 +-
 security/apparmor/path.c                    |    2 -
 security/inode.c                            |    1 +
 security/selinux/selinuxfs.c                |    1 +
 security/tomoyo/realpath.c                  |    2 -
 124 files changed, 879 insertions(+), 727 deletions(-)

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

* fix braino in fs: do not assign default i_ino in new_inode
  2010-10-26 23:17 [git pull] vfs, part 1 Al Viro
@ 2010-10-27  3:19 ` Al Viro
  0 siblings, 0 replies; 6+ messages in thread
From: Al Viro @ 2010-10-27  3:19 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel, Christoph Hellwig

usbfs_get_inode() is something completely different...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---

diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c
index 38f8f0f..4a830df 100644
--- a/drivers/usb/gadget/f_fs.c
+++ b/drivers/usb/gadget/f_fs.c
@@ -980,7 +980,7 @@ ffs_sb_make_inode(struct super_block *sb, void *data,
 	if (likely(inode)) {
 		struct timespec current_time = CURRENT_TIME;
 
-		inode->i_ino	 = usbfs_get_inode();
+		inode->i_ino	 = get_next_ino();
 		inode->i_mode    = perms->mode;
 		inode->i_uid     = perms->uid;
 		inode->i_gid     = perms->gid;

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

* [git pull] vfs part 1
@ 2015-04-14  1:42 Al Viro
  0 siblings, 0 replies; 6+ messages in thread
From: Al Viro @ 2015-04-14  1:42 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel

	Pieces prior to the merge with #for-davem:
* struct filename-related cleanups
* saner iov_iter_init() replacements (and switching the syscalls to use
of those)
* ntfs switch to ->write_iter() (Anton)
* aio cleanups and splitting iocb into common and async parts (Christoph)
* assorted fixes (me, bfields, Andrew Elble)

	There's a lot more, including the completion of switchover to
->{read,write}_iter(), d_inode/d_backing_inode annotations, f_flags
race fixes, etc., but that goes after #for-davem merge and since
#for-davem pulls net-next#master circa -rc6 or so, I'd prefer if
it had been entered the mainline via merge of net-next; davem has
pulled it, and once it's in I'll send the next vfs pull request.

	For now, please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus-1

Shortlog:
Al Viro (26):
      getname_flags(): clean up a bit
      switch path_lookupat() to struct filename
      switch path_mountpoint() to struct filename
      switch path_init() to struct filename
      saner iov_iter initialization primitives
      kill struct filename.separate
      namei.c: fold do_path_lookup() into both callers
      remove incorrect comment in lookup_one_len()
      whack-a-mole: no need to set_fs(USER_DS) in {start,flush}_thread()
      whack-a-mole: there's no point doing set_fs(USER_DS) in sigframe setup
      constify tomoyo_realpath_from_path()
      switch security_inode_getattr() to struct path *
      drop bogus check in file_open_root()
      lift iov_iter into {compat_,}do_readv_writev()
      aio: lift iov_iter_init() into aio_setup_..._rw()
      aio: simplify arguments of aio_setup_..._rw()
      kill aio_setup_single_vector()
      vmsplice_to_user(): switch to import_iovec()
      aio_setup_vectored_rw(): switch to {compat_,}import_iovec()
      switch {compat_,}do_readv_writev() to {compat_,}import_iovec()
      switch keyctl_instantiate_key_common() to iov_iter
      process_vm_access: switch to {compat_,}import_iovec()
      sg_io(): use import_iovec()
      blk_rq_map_user(): use import_single_range()
      sg_start_req(): make sure that there's not too many elements in iovec
      sg_start_req(): use import_iovec()

Andrew Elble (1):
      NFS: fix BUG() crash in notify_change() with patch to chown_common()

Anton Altaparmakov (2):
      VFS: Add iov_iter_fault_in_multipages_readable()
      NTFS: Version 2.1.32 - Update file write from aio_write to write_iter.

Christoph Hellwig (5):
      fs: remove ki_nbytes
      fuse: handle synchronous iocbs internally
      fs: don't allow to complete sync iocbs through aio_complete
      fs: split generic and aio kiocb
      fs: move struct kiocb to fs.h

J. Bruce Fields (1):
      dcache: return -ESTALE not -EBUSY on distributed fs race

Diffstat:
 arch/arc/kernel/process.c                    |   2 -
 arch/c6x/kernel/process.c                    |   1 -
 arch/frv/kernel/signal.c                     |   4 -
 arch/hexagon/kernel/process.c                |   2 -
 arch/m32r/kernel/signal.c                    |   2 -
 arch/metag/include/asm/processor.h           |   1 -
 arch/microblaze/kernel/signal.c              |   2 -
 arch/nios2/kernel/process.c                  |   1 -
 arch/openrisc/kernel/process.c               |   1 -
 arch/s390/hypfs/inode.c                      |   2 +-
 arch/sh/kernel/signal_32.c                   |   4 -
 arch/sh/kernel/signal_64.c                   |   4 -
 arch/xtensa/kernel/signal.c                  |   5 -
 block/blk-map.c                              |   6 +-
 block/scsi_ioctl.c                           |  12 +-
 drivers/char/mem.c                           |   2 +-
 drivers/char/tile-srom.c                     |   1 -
 drivers/infiniband/hw/ipath/ipath_file_ops.c |   1 -
 drivers/infiniband/hw/qib/qib_file_ops.c     |   1 -
 drivers/misc/mei/amthif.c                    |   1 -
 drivers/misc/mei/main.c                      |   1 -
 drivers/misc/mei/pci-me.c                    |   1 -
 drivers/scsi/sg.c                            |  15 +-
 drivers/staging/unisys/include/timskmod.h    |   1 -
 drivers/usb/gadget/function/f_fs.c           |   6 +-
 drivers/usb/gadget/legacy/inode.c            |   6 +-
 fs/9p/vfs_addr.c                             |   2 +-
 fs/affs/file.c                               |   2 +-
 fs/afs/write.c                               |   1 -
 fs/aio.c                                     | 192 +++----
 fs/bfs/inode.c                               |   1 +
 fs/block_dev.c                               |   1 -
 fs/btrfs/file.c                              |   2 +-
 fs/btrfs/inode.c                             |   2 +-
 fs/ceph/file.c                               |   3 +-
 fs/dcache.c                                  |   2 +-
 fs/direct-io.c                               |   5 +-
 fs/ecryptfs/file.c                           |   7 -
 fs/ext2/inode.c                              |   2 +-
 fs/ext3/inode.c                              |   2 +-
 fs/ext4/file.c                               |   2 +-
 fs/ext4/indirect.c                           |   2 +-
 fs/ext4/inode.c                              |   1 -
 fs/ext4/page-io.c                            |   1 -
 fs/f2fs/data.c                               |   2 +-
 fs/fat/inode.c                               |   1 -
 fs/fuse/cuse.c                               |   2 +-
 fs/fuse/dev.c                                |   1 -
 fs/fuse/file.c                               |  55 +-
 fs/fuse/fuse_i.h                             |   1 +
 fs/gfs2/aops.c                               |   2 +-
 fs/gfs2/file.c                               |   1 -
 fs/hfs/inode.c                               |   2 +-
 fs/hfsplus/inode.c                           |   2 +-
 fs/jfs/inode.c                               |   2 +-
 fs/namei.c                                   | 168 +++---
 fs/nfs/direct.c                              |   4 +-
 fs/nfs/file.c                                |   1 -
 fs/nilfs2/inode.c                            |   2 +-
 fs/ntfs/Makefile                             |   2 +-
 fs/ntfs/file.c                               | 784 +++++++++++----------------
 fs/ntfs/inode.c                              |   1 -
 fs/ocfs2/aops.c                              |   1 +
 fs/ocfs2/aops.h                              |   2 +-
 fs/ocfs2/file.c                              |   8 +-
 fs/open.c                                    |   5 +-
 fs/pipe.c                                    |   1 -
 fs/read_write.c                              | 117 ++--
 fs/reiserfs/inode.c                          |   2 +-
 fs/splice.c                                  |  28 +-
 fs/stat.c                                    |   2 +-
 fs/ubifs/file.c                              |   1 -
 fs/udf/file.c                                |   4 +-
 fs/udf/inode.c                               |   2 +-
 fs/xfs/xfs_aops.c                            |   1 -
 fs/xfs/xfs_file.c                            |   1 -
 include/linux/aio.h                          |  70 +--
 include/linux/fs.h                           |  24 +-
 include/linux/security.h                     |   7 +-
 include/linux/uio.h                          |  15 +
 include/net/sock.h                           |   1 -
 kernel/printk/printk.c                       |   4 +-
 kernel/sysctl.c                              |   1 +
 lib/iov_iter.c                               |  83 +++
 mm/filemap.c                                 |   1 -
 mm/page_io.c                                 |   3 +-
 mm/process_vm_access.c                       |  35 +-
 mm/shmem.c                                   |   2 +-
 net/ipv4/raw.c                               |   1 -
 net/socket.c                                 |  15 +-
 security/apparmor/lsm.c                      |   6 +-
 security/capability.c                        |   2 +-
 security/keys/compat.c                       |  29 +-
 security/keys/internal.h                     |   5 +-
 security/keys/keyctl.c                       |  78 +--
 security/security.c                          |   6 +-
 security/selinux/hooks.c                     |  12 +-
 security/smack/smack_lsm.c                   |  13 +-
 security/tomoyo/common.h                     |   4 +-
 security/tomoyo/file.c                       |   4 +-
 security/tomoyo/realpath.c                   |   6 +-
 security/tomoyo/tomoyo.c                     |   5 +-
 sound/core/pcm_native.c                      |   2 +-
 103 files changed, 839 insertions(+), 1118 deletions(-)

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

* Re: [git pull] vfs, part 1
  2012-10-03  2:31 ` Linus Torvalds
@ 2012-10-03  2:48   ` Al Viro
  0 siblings, 0 replies; 6+ messages in thread
From: Al Viro @ 2012-10-03  2:48 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel

On Tue, Oct 02, 2012 at 07:31:58PM -0700, Linus Torvalds wrote:
> On Tue, Oct 2, 2012 at 6:39 PM, Al Viro <viro@zeniv.linux.org.uk> wrote:
> >         This is *not* all; fs/dcache.c bits will go separately, for one
> > thing - that's just the first pile.  Please, pull from the usual place -
> 
> Al, *please* describe what is going on. Your description is negative
> (what *doesn't* happen in this pull) and does not at all describe what
> is going on.

Umm...  OK, but it won't be particulary pretty:
	* big one - consolidation of descriptor-related logics; almost all
of that is moved to fs/file.c (BTW, I'm seriously tempted to rename the
result to fd.c.  As it is, we have a situation when file_table.c is about
handling of struct file and file.c is about handling of descriptor tables;
the reasons are historical - file_table.c used to be about a static array
of struct file we used to have way back).   A lot of stray ends got cleaned
up and converted to saner primitives, disgusting mess in android/binder.c
is still disgusting, but at least doesn't poke so much in descriptor table
guts anymore.  A bunch of relatively minor races got fixed in process,
plus an ext4 struct file leak.
	* related thing - fget_light() partially unuglified; see fdget()
in there (and yes, it generates the code as good as we used to have).
	* also related - bits of Cyrill's procfs stuff that got entangled
into that work; _not_ all of it, just the initial move to fs/proc/fd.c
and switch of fdinfo to seq_file.
	* Alex's fs/coredump.c spiltoff - the same story, had been easier to
take that commit than mess with conflicts.  The rest is a separate pile, this
was just a mechanical code movement.
	* a few misc patches all over the place.  Not all for this cycle,
there'll be more (and quite a few currently sit in akpm's tree).

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

* Re: [git pull] vfs, part 1
  2012-10-03  1:39 [git pull] vfs, part 1 Al Viro
@ 2012-10-03  2:31 ` Linus Torvalds
  2012-10-03  2:48   ` Al Viro
  0 siblings, 1 reply; 6+ messages in thread
From: Linus Torvalds @ 2012-10-03  2:31 UTC (permalink / raw)
  To: Al Viro; +Cc: linux-kernel, linux-fsdevel

On Tue, Oct 2, 2012 at 6:39 PM, Al Viro <viro@zeniv.linux.org.uk> wrote:
>         This is *not* all; fs/dcache.c bits will go separately, for one
> thing - that's just the first pile.  Please, pull from the usual place -

Al, *please* describe what is going on. Your description is negative
(what *doesn't* happen in this pull) and does not at all describe what
is going on.

            Linus

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

* [git pull] vfs, part 1
@ 2012-10-03  1:39 Al Viro
  2012-10-03  2:31 ` Linus Torvalds
  0 siblings, 1 reply; 6+ messages in thread
From: Al Viro @ 2012-10-03  1:39 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, linux-fsdevel

	This is *not* all; fs/dcache.c bits will go separately, for one
thing - that's just the first pile.  Please, pull from the usual place -
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus
Shortlog:
Al Viro (67):
      do_add_mount()/umount -l races
      close the race in nlmsvc_free_block()
      Merge remote branch 'origin' into for-next
      take descriptor handling from sock_alloc_file() to callers
      unexport sock_map_fd(), switch to sock_alloc_file()
      make get_unused_fd_flags() a function
      autofs4: don't open-code fd_install()
      binder: don't allow mmap() by process other than proc->tsk
      pipe(2) - race-free error recovery
      events: don't use get_unused_fd_flags() when get_unused_fd() will do
      fanotify: sanitize failure exits in copy_event_to_user()
      take rlimit check to callers of expand_files()
      new helper: __alloc_fd()
      move files_struct-related bits from kernel/exit.c to fs/file.c
      don't bother with call_rcu() in put_files_struct()
      trim free_fdtable_rcu()
      move put_unused_fd() and fd_install() to fs/file.c
      expose a low-level variant of fd_install() for binder
      take fget() and friends to fs/file.c
      take descriptor-related part of close() to file.c
      um: resurrect the right variant of mconsole_proc()
      take close-on-exec logics to fs/file.c, clean it up a bit
      take purely descriptor-related stuff from fcntl.c to file.c
      new helper: replace_fd()
      switch flush_unauthorized_files() to replace_fd()
      take __{set,clear}_{open_fd,close_on_exec}() into fs/file.c
      make expand_files() and alloc_fd() static
      new helper: iterate_fd()
      do_coredump(): make sure that descriptor table isn't shared
      switch spufs/coredump to iterate_fd()
      new helper: daemonize_descriptors()
      don't leak O_CLOEXEC into ->f_flags
      namei.c: fix BS comment
      switch ftruncate(2) to fget_light
      switch fallocate(2) to fget_light()
      switch fchmod(2) to fget_light()
      switch fadvise(2) to fget_light()
      switch readahead(2) to fget_light()
      switch osf_getdirentries() to fget_light()
      switch itanic perfmonctl(2) to fget_light()
      switch hpux_getdents() to fget_light()
      ext4: close struct file leak on EXT4_IOC_MOVE_EXT
      export fget_light
      switch EXT4_IOC_MOVE_EXT to fget_light()
      switch btrfs_ioctl_snap_create_transid() to fget_light()
      switch epoll_wait(2) to fget_light()
      switch timerfd_[sg]ettime(2) to fget_light()
      switch SNDRV_PCM_IOCTL_LINK to fget_light()
      switch mqueue syscalls to fget_light()
      switch btrfs_ioctl_clone() to fget_light()
      switch vfio_group_set_container() to fget_light()
      switch infinibarf users of fget() to fget_light()
      switch coda get_device_index() to fget_light()
      switch xfs_swapext() to fget_light()
      switch xfs_find_handle() to fget_light()
      switch prctl_set_mm_exe_file() to fget_light()
      vhost_set_vring(): turn pollstart/pollstop into bool
      make get_file() return its argument
      proc_map_files_readdir(): don't bother with grabbing files
      switch o2hb_region_dev_write() to fget_light()
      new helpers: fdget()/fdput()
      switch simple cases of fget_light to fdget
      hypfs: ->d_parent is never NULL or negative
      ceph: don't abuse d_delete() on failure exits
      fcntl: fix misannotations
      usb/gadget: fix misannotations
      btrfs: reada_extent doesn't need kref for refcount

Alan Cox (1):
      vfs: delete surplus inode NULL check

Alex Kelly (1):
      coredump: move core dump functionality into its own file

Catalin Marinas (1):
      compat: fs: Generic compat_sys_sendfile implementation

Chuck Lever (1):
      MAX_LFS_FILESIZE should be a loff_t

Cyrill Gorcunov (2):
      procfs: Move /proc/pid/fd[info] handling code to fd.[ch]
      procfs: Convert /proc/pid/fdinfo/ handling routines to seq-file v2

Denys Vlasenko (1):
      coredump: prevent double-free on an error path in core dumper

Kirill A. Shutemov (1):
      fs: push rcu_barrier() from deactivate_locked_super() to filesystems

Diffstat:
 arch/alpha/kernel/osf_sys.c                  |   13 +-
 arch/ia64/kernel/perfmon.c                   |   18 +-
 arch/parisc/hpux/fs.c                        |   17 +-
 arch/powerpc/include/asm/systbl.h            |    4 +-
 arch/powerpc/include/asm/unistd.h            |    1 +
 arch/powerpc/kernel/sys_ppc32.c              |   45 +--
 arch/powerpc/platforms/cell/spu_syscalls.c   |   21 +-
 arch/powerpc/platforms/cell/spufs/coredump.c |   40 +-
 arch/s390/hypfs/inode.c                      |    2 -
 arch/sparc/include/asm/unistd.h              |    1 +
 arch/sparc/kernel/sys32.S                    |    2 +-
 arch/sparc/kernel/sys_sparc32.c              |   46 --
 arch/um/drivers/mconsole_kern.c              |   99 +---
 drivers/base/dma-buf.c                       |    3 +-
 drivers/infiniband/core/ucma.c               |   10 +-
 drivers/infiniband/core/uverbs_cmd.c         |   21 +-
 drivers/infiniband/core/uverbs_main.c        |   11 +-
 drivers/staging/android/binder.c             |  113 +----
 drivers/staging/omapdrm/omap_gem.c           |    3 +-
 drivers/tty/tty_io.c                         |   45 +--
 drivers/usb/gadget/f_fs.c                    |    4 +-
 drivers/vfio/vfio.c                          |   15 +-
 drivers/vhost/vhost.c                        |    8 +-
 drivers/video/msm/mdp.c                      |   12 +-
 fs/9p/v9fs.c                                 |    5 +
 fs/Makefile                                  |    2 +-
 fs/adfs/super.c                              |    5 +
 fs/affs/super.c                              |    5 +
 fs/afs/super.c                               |    5 +
 fs/autofs4/dev-ioctl.c                       |   18 +-
 fs/autofs4/waitq.c                           |    3 +-
 fs/befs/linuxvfs.c                           |    5 +
 fs/bfs/inode.c                               |    5 +
 fs/binfmt_elf.c                              |   19 +-
 fs/btrfs/extent_io.c                         |    6 +
 fs/btrfs/inode.c                             |    5 +
 fs/btrfs/ioctl.c                             |   32 +-
 fs/btrfs/reada.c                             |   18 +-
 fs/ceph/inode.c                              |    4 +-
 fs/ceph/super.c                              |    5 +
 fs/cifs/cifsfs.c                             |    5 +
 fs/coda/inode.c                              |   37 +-
 fs/compat.c                                  |  112 +++--
 fs/compat_ioctl.c                            |   27 +-
 fs/coredump.c                                |  686 +++++++++++++++++++++++++
 fs/dcache.c                                  |    2 +-
 fs/ecryptfs/main.c                           |    6 +
 fs/efs/super.c                               |    5 +
 fs/eventpoll.c                               |   23 +-
 fs/exec.c                                    |  688 +-------------------------
 fs/exofs/super.c                             |    5 +
 fs/ext2/super.c                              |    5 +
 fs/ext3/super.c                              |    5 +
 fs/ext4/ioctl.c                              |   15 +-
 fs/ext4/super.c                              |    5 +
 fs/fat/inode.c                               |    5 +
 fs/fcntl.c                                   |  166 +------
 fs/fhandle.c                                 |   17 +-
 fs/file.c                                    |  573 ++++++++++++++++++++-
 fs/file_table.c                              |  106 ----
 fs/freevxfs/vxfs_super.c                     |    5 +
 fs/fuse/dev.c                                |    3 +-
 fs/fuse/inode.c                              |    6 +
 fs/hfs/super.c                               |    6 +
 fs/hfsplus/super.c                           |    6 +
 fs/hpfs/super.c                              |    5 +
 fs/hugetlbfs/inode.c                         |    5 +
 fs/ioctl.c                                   |   25 +-
 fs/isofs/inode.c                             |    5 +
 fs/jffs2/super.c                             |    6 +
 fs/jfs/super.c                               |    6 +
 fs/lockd/svclock.c                           |    3 +-
 fs/locks.c                                   |   20 +-
 fs/logfs/inode.c                             |    5 +
 fs/minix/inode.c                             |    5 +
 fs/namei.c                                   |   41 +-
 fs/namespace.c                               |   10 +-
 fs/ncpfs/inode.c                             |    5 +
 fs/nfs/inode.c                               |    5 +
 fs/nfsd/nfs4state.c                          |    3 +-
 fs/nilfs2/super.c                            |    6 +
 fs/notify/fanotify/fanotify_user.c           |   87 ++--
 fs/notify/inotify/inotify_user.c             |   28 +-
 fs/ntfs/super.c                              |    6 +
 fs/ocfs2/cluster/heartbeat.c                 |   38 +-
 fs/ocfs2/dlmfs/dlmfs.c                       |    5 +
 fs/ocfs2/super.c                             |    5 +
 fs/open.c                                    |  130 ++----
 fs/openpromfs/inode.c                        |    5 +
 fs/pipe.c                                    |   31 +-
 fs/proc/Makefile                             |    2 +-
 fs/proc/base.c                               |  417 +---------------
 fs/proc/fd.c                                 |  367 ++++++++++++++
 fs/proc/fd.h                                 |   14 +
 fs/proc/internal.h                           |   48 ++
 fs/qnx4/inode.c                              |    5 +
 fs/qnx6/inode.c                              |    5 +
 fs/read_write.c                              |  180 +++----
 fs/read_write.h                              |    2 +
 fs/readdir.c                                 |   36 +-
 fs/reiserfs/super.c                          |    5 +
 fs/romfs/super.c                             |    5 +
 fs/select.c                                  |   31 +-
 fs/signalfd.c                                |   13 +-
 fs/splice.c                                  |   69 ++--
 fs/squashfs/super.c                          |    5 +
 fs/stat.c                                    |   10 +-
 fs/statfs.c                                  |    9 +-
 fs/super.c                                   |    6 -
 fs/sync.c                                    |   33 +-
 fs/sysv/inode.c                              |    5 +
 fs/timerfd.c                                 |   45 +-
 fs/ubifs/super.c                             |    6 +
 fs/udf/super.c                               |    5 +
 fs/ufs/super.c                               |    5 +
 fs/utimes.c                                  |   11 +-
 fs/xattr.c                                   |   52 +--
 fs/xfs/xfs_dfrag.c                           |   34 +-
 fs/xfs/xfs_ioctl.c                           |   10 +-
 fs/xfs/xfs_super.c                           |    5 +
 include/linux/compat.h                       |    3 +
 include/linux/fdtable.h                      |   39 +-
 include/linux/file.h                         |   35 ++-
 include/linux/fs.h                           |   10 +-
 include/linux/net.h                          |    3 +-
 include/linux/sched.h                        |    1 +
 ipc/mqueue.c                                 |   78 ++--
 kernel/events/core.c                         |   72 ++--
 kernel/exit.c                                |   97 +----
 kernel/sys.c                                 |   14 +-
 kernel/taskstats.c                           |   11 +-
 mm/fadvise.c                                 |   34 +-
 mm/fremap.c                                  |    3 +-
 mm/mmap.c                                    |    3 +-
 mm/nommu.c                                   |    6 +-
 mm/readahead.c                               |   14 +-
 net/9p/trans_fd.c                            |   16 +-
 net/compat.c                                 |    3 +-
 net/core/netprio_cgroup.c                    |   38 +-
 net/core/scm.c                               |    3 +-
 net/sctp/socket.c                            |   25 +-
 net/socket.c                                 |   66 ++-
 security/selinux/hooks.c                     |   73 +--
 sound/core/pcm_native.c                      |   13 +-
 144 files changed, 2925 insertions(+), 2880 deletions(-)
 create mode 100644 fs/coredump.c
 create mode 100644 fs/proc/fd.c
 create mode 100644 fs/proc/fd.h

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

end of thread, other threads:[~2015-04-14  1:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-26 23:17 [git pull] vfs, part 1 Al Viro
2010-10-27  3:19 ` fix braino in fs: do not assign default i_ino in new_inode Al Viro
2012-10-03  1:39 [git pull] vfs, part 1 Al Viro
2012-10-03  2:31 ` Linus Torvalds
2012-10-03  2:48   ` Al Viro
2015-04-14  1:42 [git pull] vfs " Al Viro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.