On Tue, Apr 15, 2014 at 12:18:24PM -0400, Brian Foster wrote: > + error = xfs_init_security(inode, dir, &dentry->d_name); > + if (unlikely(error)) { > + iput(inode); > + return -error; > + } > + > d_tmpfile(dentry, inode); > I'd really love to hear from the LSM people who they plan to deal with O_TMPFILE inodes. But given that this seems to fix a real life bug let's go with it for now. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html