On Sun, Aug 04, 2013 at 08:45:16PM -0700, Linus Torvalds wrote: > The patch looks right to me - we should pass in similar flags for the > create case as for tmpfile to the filesystem. > > But let's make sure we're all on the same page. Al?
ACK. It used to happen as a side effect of O_CREAT being required in the flags, but that broke once we switched to use of O_DIRECTORY. I've applied both Andi's patches (along with one from Zheng Liu) in vfs.git #for-linus. Another thing in there is reiserfs umount deadlock fix - that one needs to go in all branches starting from 2.6.23. Please, pull from the usual place - git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus Shortlog: Al Viro (1): reiserfs: fix deadlock in umount Andy Lutomirski (2): fs: Fix file mode for O_TMPFILE fs: Allow unprivileged linkat(..., AT_EMPTY_PATH) aka flink Zheng Liu (1): vfs: add missing check for __O_TMPFILE in fcntl_init() Diffstat: fs/fcntl.c | 4 +- fs/namei.c | 10 ++---- fs/open.c | 2 +- fs/reiserfs/procfs.c | 99 ++++++++++---------------------------------------- fs/reiserfs/super.c | 3 +- 5 files changed, 26 insertions(+), 92 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/