1. 20 Jul, 2018 4 commits
  2. 18 Jul, 2018 33 commits
  3. 17 Jul, 2018 1 commit
  4. 12 Jul, 2018 2 commits
    • Al Viro's avatar
      new helper: open_with_fake_path() · 2abc77af
      Al Viro authored
      open a file by given inode, faking ->f_path.  Use with shitloads
      of caution - at the very least you'd damn better make sure that
      some dentry alias of that inode is pinned down by the path in
      question.  Again, this is no general-purpose interface and I hope
      it will eventually go away.  Right now overlayfs wants something
      like that, but nothing else should.
      
      Any out-of-tree code with bright idea of using this one *will*
      eventually get hurt, with zero notice and great delight on my part.
      I refuse to use EXPORT_SYMBOL_GPL(), especially in situations when
      it's really EXPORT_SYMBOL_DONT_USE_IT(), but don't take that export
      as "you are welcome to use it".
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      2abc77af
    • Al Viro's avatar
      now we can fold open_check_o_direct() into do_dentry_open() · 69527c55
      Al Viro authored
      These checks are better off in do_dentry_open(); the reason we couldn't
      put them there used to be that callers couldn't tell what kind of cleanup
      would do_dentry_open() failure call for.  Now that we have FMODE_OPENED,
      cleanup is the same in all cases - it's simply fput().  So let's fold
      that into do_dentry_open(), as Christoph's patch tried to.
      Acked-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      69527c55