{"push_id":1322989265,"size":504,"distinct_size":504,"ref":"refs/heads/linux-next","head":"ab5bd8bd965fa6dd1d2b0211a9fa008b61b84df1","before":"5241e1f78ec901874050adae87235a275d3c43db","commits":[{"sha":"2864f301424227d9d3bde6d550bc224a83535b46","author":{"name":"Al Viro","email":"2a537e97523ffee458777df5f34a2f8c9964f945@zeniv.linux.org.uk"},"message":"iget_locked et.al.: make sure we don't return bad inodes\n\nIf one thread does iget_locked(), proceeds to try and set\nthe new inode up and fails, inode will be unhashed and dropped.\nHowever, another thread doing ilookup/iget_locked in the middle\nof that would end up finding a half-set-up inode, grabbing\na reference, waiting for it to come unlocked and getting the\nresulting bad inode.  It's a race (if that ilookup had been\ncalled just after the failure of setup attempt it wouldn't\nhave found the sucker at all), particularly unpleasant in\ncases when failure is transient/caller-dependent/etc.\n\nWhile it can be dealt with in the callers, there's no reason\nnot to handle it in fs/inode.c primitives, especially since\nthe cost is trivial.\n\nSigned-off-by: Al Viro <viro@zeniv.linux.org.uk>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/2864f301424227d9d3bde6d550bc224a83535b46"},{"sha":"73a3eed0a4800cbe9d99cc6447fed8309d7fcb97","author":{"name":"Max Filippov","email":"d74404602d9677d809facc4c4eac9231fee6b605@gmail.com"},"message":"xtensa: fix default kernel load address\n\nMake default kernel load address 0xd0003000 for MMUv2 cores and\n0x60003000 for noMMU cores. Don't initialize MMU inside vmlinux for\npredefined MMUv2 cores (it's noop anyway).\n\nThis fixes the following defconfig build error:\n  arch/xtensa/kernel/built-in.o: In function `fast_alloca':\n  (.text+0x99a): dangerous relocation: j: cannot encode: _WindowUnderflow12\n  arch/xtensa/kernel/built-in.o: In function `fast_alloca':\n  (.text+0x99d): dangerous relocation: j: cannot encode: _WindowUnderflow8\n  arch/xtensa/kernel/built-in.o: In function `fast_alloca':\n  (.text+0x9a0): dangerous relocation: j: cannot encode: _WindowUnderflow4\n  arch/xtensa/kernel/built-in.o: In function `window_overflow_restore_a0_fixup':\n  (.text+0x23a3): dangerous relocation: j: cannot encode: (.DoubleExceptionVector.text+0x104)\n  arch/xtensa/kernel/built-in.o: In function `window_overflow_restore_a0_fixup':\n  (.text+0x23c1): dangerous relocation: j: cannot encode: (.DoubleExceptionVector.text+0x104)\n  arch/xtensa/kernel/built-in.o: In function `window_overflow_restore_a0_fixup':\n  (.text+0x23dd): dangerous relocation: j: cannot encode: (.DoubleExceptionVector.text+0x104)\n\nWith this change all xtensa defconfigs build correctly.\n\nReported-by: Guenter Roeck <linux@roeck-us.net>\nSigned-off-by: Max Filippov <jcmvbkbc@gmail.com>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/73a3eed0a4800cbe9d99cc6447fed8309d7fcb97"},{"sha":"23c2b9321b30f947b4f908e40379eed50f48508c","author":{"name":"Scott Telford","email":"3c441ba6edf4dd475ec8ab4c8fb4f9c0f9449dbb@cadence.com"},"message":"xtensa: Added Cadence CSP kernel configuration for Xtensa\n\nAdded defconfig, device tree and Xtensa variant header files for the\nCadence Configurable System Platform \"xt_lnx\" processor configuration.\n\nSigned-off-by: Scott Telford <stelford@cadence.com>\nSigned-off-by: Max Filippov <jcmvbkbc@gmail.com>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/23c2b9321b30f947b4f908e40379eed50f48508c"},{"sha":"4f2056873ff0748d413c0dc3577186f78fafa7c9","author":{"name":"Max Filippov","email":"d74404602d9677d809facc4c4eac9231fee6b605@gmail.com"},"message":"xtensa: extract common CPU reset code into separate function\n\nplatform_restart implementatations do the same thing to reset CPU.\nDon't duplicate that code, move it to a function and call it from\nplatform_restart.\n\nSigned-off-by: Max Filippov <jcmvbkbc@gmail.com>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/4f2056873ff0748d413c0dc3577186f78fafa7c9"},{"sha":"ea951c34ea957d509916f79502917b87cf111b37","author":{"name":"Max Filippov","email":"d74404602d9677d809facc4c4eac9231fee6b605@gmail.com"},"message":"xtensa: fix icountlevel setting in cpu_reset\n\nicountlevel SR value specifies lowest intlevel that does not do\ninstruction counting, so to disable instruction counting completely it\nmust be set to 0, not to 15.\n\nSigned-off-by: Max Filippov <jcmvbkbc@gmail.com>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/ea951c34ea957d509916f79502917b87cf111b37"},{"sha":"bf15f86b343ed894e74fb9c6c944cea1f8f9b654","author":{"name":"Max Filippov","email":"d74404602d9677d809facc4c4eac9231fee6b605@gmail.com"},"message":"xtensa: initialize MMU before jumping to reset vector\n\nWhen reset is simulated MMU need to be brought into its initial state,\nbecause that's what bootloaders/OS kernels assume. This is especially\nimportant for MMUv3 because TLB state when the kernel is running is\nsignificatly different from its reset state.\n\nWith this change it is possible to boot linux and get back to U-Boot\nrepeatedly.\n\nSigned-off-by: Max Filippov <jcmvbkbc@gmail.com>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/bf15f86b343ed894e74fb9c6c944cea1f8f9b654"},{"sha":"085354f907969fb3ee33f236368f6e1dd4c74d62","author":{"name":"Al Viro","email":"2a537e97523ffee458777df5f34a2f8c9964f945@zeniv.linux.org.uk"},"message":"alpha: get rid of tail-zeroing in __copy_user()\n\n... and adjust copy_from_user() accordingly\n\nSigned-off-by: Al Viro <viro@zeniv.linux.org.uk>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/085354f907969fb3ee33f236368f6e1dd4c74d62"},{"sha":"7798bf2140ebcc36eafec6a4194fffd8d585d471","author":{"name":"Al Viro","email":"2a537e97523ffee458777df5f34a2f8c9964f945@zeniv.linux.org.uk"},"message":"arc: don't leak bits of kernel stack into coredump\n\nOn faulting sigreturn we do get SIGSEGV, all right, but anything\nwe'd put into pt_regs could end up in the coredump.  And since\n__copy_from_user() never zeroed on arc, we'd better bugger off\non its failure without copying random uninitialized bits of\nkernel stack into pt_regs...\n\nCc: stable@vger.kernel.org\nSigned-off-by: Al Viro <viro@zeniv.linux.org.uk>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/7798bf2140ebcc36eafec6a4194fffd8d585d471"},{"sha":"91344493b7da9487a8dbc1109d7486e51c8e5235","author":{"name":"Al Viro","email":"2a537e97523ffee458777df5f34a2f8c9964f945@zeniv.linux.org.uk"},"message":"arm: don't zero in __copy_from_user_inatomic()/__copy_from_user()\n\nadjust copy_from_user(), obviously\n\nSigned-off-by: Al Viro <viro@zeniv.linux.org.uk>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/91344493b7da9487a8dbc1109d7486e51c8e5235"},{"sha":"4855bd255f9fb429d296dc3c620f1b563d20353e","author":{"name":"Al Viro","email":"2a537e97523ffee458777df5f34a2f8c9964f945@zeniv.linux.org.uk"},"message":"arm64: don't zero in __copy_from_user{,_inatomic}\n\nSigned-off-by: Al Viro <viro@zeniv.linux.org.uk>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/4855bd255f9fb429d296dc3c620f1b563d20353e"},{"sha":"b065444286bed7ec49ee81c593a46f3031fbfc83","author":{"name":"Al Viro","email":"2a537e97523ffee458777df5f34a2f8c9964f945@zeniv.linux.org.uk"},"message":"blackfin: no access_ok() for __copy_{to,from}_user()\n\ncallers have checked that already\n\nSigned-off-by: Al Viro <viro@zeniv.linux.org.uk>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/b065444286bed7ec49ee81c593a46f3031fbfc83"},{"sha":"e71b9dff0634edb127f449e076e883ef24a8c76c","author":{"name":"Miklos Szeredi","email":"c27ee2952768e22f4d3ab9aec0e78ac5f4ddea98@redhat.com"},"message":"ima: use file_dentry()\n\nIma tries to call ->setxattr() on overlayfs dentry after having locked\nunderlying inode, which results in a deadlock.\n\nReported-by: Krisztian Litkey <kli@iki.fi>\nFixes: 4bacc9c9234c (\"overlayfs: Make f_path always point to the overlay and f_inode to the underlay\")\nSigned-off-by: Miklos Szeredi <mszeredi@redhat.com>\nCc: <stable@vger.kernel.org> # v4.2\nCc: Mimi Zohar <zohar@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/e71b9dff0634edb127f449e076e883ef24a8c76c"},{"sha":"f2b20f6ee842313a0d681dbbf7f87b70291a6a3b","author":{"name":"Miklos Szeredi","email":"c27ee2952768e22f4d3ab9aec0e78ac5f4ddea98@redhat.com"},"message":"vfs: move permission checking into notify_change() for utimes(NULL)\n\nThis fixes a bug where the permission was not properly checked in\noverlayfs.  The testcase is ltp/utimensat01.\n\nIt is also cleaner and safer to do the permission checking in the vfs\nhelper instead of the caller.\n\nThis patch introduces an additional ia_valid flag ATTR_TOUCH (since\ntouch(1) is the most obvious user of utimes(NULL)) that is passed into\nnotify_change whenever the conditions for this special permission checking\nmode are met.\n\nReported-by: Aihua Zhang <zhangaihua1@huawei.com>\nSigned-off-by: Miklos Szeredi <mszeredi@redhat.com>\nTested-by: Aihua Zhang <zhangaihua1@huawei.com>\nCc: <stable@vger.kernel.org> # v3.18+","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/f2b20f6ee842313a0d681dbbf7f87b70291a6a3b"},{"sha":"598e3c8f72f5b77c84d2cb26cfd936ffb3cfdbaa","author":{"name":"Miklos Szeredi","email":"c27ee2952768e22f4d3ab9aec0e78ac5f4ddea98@redhat.com"},"message":"vfs: update ovl inode before relatime check\n\nOn overlayfs relatime_need_update() needs inode times to be correct on\noverlay inode.  But i_mtime and i_ctime are updated by filesystem code on\nunderlying inode only, so they will be out-of-date on the overlay inode.\n\nThis patch copies the times from the underlying inode if needed.  This\ncan't be done if called from RCU lookup (link following) but link m/ctime\nare not updated by fs, so this is all right.\n\nThis patch doesn't change functionality for anything but overlayfs.\n\nSigned-off-by: Miklos Szeredi <mszeredi@redhat.com>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/598e3c8f72f5b77c84d2cb26cfd936ffb3cfdbaa"},{"sha":"f3fbbb079263bd29ae592478de6808db7e708267","author":{"name":"Aihua Zhang","email":"13a9429d17fe330936d3784b63436c78cad7f05c@huawei.com"},"message":"fsnotify: support overlayfs\n\nWhen an event occurs direct it to the overlay inode instead of the real\nunderlying inode.\n\nThis will work even if the file was first on the lower layer and then\ncopied up, while the watch is there.  This is because the watch is on the\noverlay inode, which stays the same through the copy-up.\n\nFor filesystems other than overlayfs this is a no-op, except for the\nperformance impact of an extra pointer dereferece.\n\nVerified to work correctly with the inotify/fanotify tests in LTP.\n\nSigned-off-by: Aihua Zhang <zhangaihua1@huawei.com>\nSigned-off-by: Miklos Szeredi <mszeredi@redhat.com>\nCc: Jan Kara <jack@suse.cz>\nCc: Eric Paris <eparis@redhat.com>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/f3fbbb079263bd29ae592478de6808db7e708267"},{"sha":"c568d68341be7030f5647def68851e469b21ca11","author":{"name":"Miklos Szeredi","email":"c27ee2952768e22f4d3ab9aec0e78ac5f4ddea98@redhat.com"},"message":"locks: fix file locking on overlayfs\n\nThis patch allows flock, posix locks, ofd locks and leases to work\ncorrectly on overlayfs.\n\nInstead of using the underlying inode for storing lock context use the\noverlay inode.  This allows locks to be persistent across copy-up.\n\nThis is done by introducing locks_inode() helper and using it instead of\nfile_inode() to get the inode in locking code.  For non-overlayfs the two\nare equivalent, except for an extra pointer dereference in locks_inode().\n\nSince lock operations are in \"struct file_operations\" we must also make\nsure not to call underlying filesystem's lock operations.  Introcude a\nsuper block flag MS_NOREMOTELOCK to this effect.\n\nSigned-off-by: Miklos Szeredi <mszeredi@redhat.com>\nAcked-by: Jeff Layton <jlayton@poochiereds.net>\nCc: \"J. Bruce Fields\" <bfields@fieldses.org>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/c568d68341be7030f5647def68851e469b21ca11"},{"sha":"7b1742eb06ead6d02a6cf3c44587088e5392d1aa","author":{"name":"Miklos Szeredi","email":"c27ee2952768e22f4d3ab9aec0e78ac5f4ddea98@redhat.com"},"message":"vfs: make argument of d_real_inode() const\n\nd_op->d_real() leaves the dentry alone except if the third argument is\nnon-zero.  Unfortunately very difficult to explain to the compiler without\na cast.\n\nSigned-off-by: Miklos Szeredi <mszeredi@redhat.com>\nAcked-by: Jeff Layton <jlayton@poochiereds.net>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/7b1742eb06ead6d02a6cf3c44587088e5392d1aa"},{"sha":"4d0c5ba2ff79ef9f5188998b29fd28fcb05f3667","author":{"name":"Miklos Szeredi","email":"c27ee2952768e22f4d3ab9aec0e78ac5f4ddea98@redhat.com"},"message":"vfs: do get_write_access() on upper layer of overlayfs\n\nThe problem with writecount is: we want consistent handling of it for\nunderlying filesystems as well as overlayfs.  Making sure i_writecount is\ncorrect on all layers is difficult.  Instead this patch makes sure that\nwhen write access is acquired, it's always done on the underlying writable\nlayer (called the upper layer).  We must also make sure to look at the\nwritecount on this layer when checking for conflicting leases.\n\nOpen for write already updates the upper layer's writecount.  Leaving only\ntruncate.\n\nFor truncate copy up must happen before get_write_access() so that the\nwritecount is updated on the upper layer.  Problem with this is if\nsomething fails after that, then copy-up was done needlessly.  E.g. if\nbreak_lease() was interrupted.  Probably not a big deal in practice.\n\nAnother interesting case is if there's a denywrite on a lower file that is\nthen opened for write or truncated.  With this patch these will succeed,\nwhich is somewhat counterintuitive.  But I think it's still acceptable,\nconsidering that the copy-up does actually create a different file, so the\nold, denywrite mapping won't be touched.\n\nOn non-overlayfs d_real() is an identity function and d_real_inode() is\nequivalent to d_inode() so this patch doesn't change behavior in that case.\n\nSigned-off-by: Miklos Szeredi <mszeredi@redhat.com>\nAcked-by: Jeff Layton <jlayton@poochiereds.net>\nCc: \"J. Bruce Fields\" <bfields@fieldses.org>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/4d0c5ba2ff79ef9f5188998b29fd28fcb05f3667"},{"sha":"f0312210010bf063c29efe112b0d9accbc9191b3","author":{"name":"Miklos Szeredi","email":"c27ee2952768e22f4d3ab9aec0e78ac5f4ddea98@redhat.com"},"message":"btrfs: use filemap_check_errors()\n\nSigned-off-by: Miklos Szeredi <mszeredi@redhat.com>\nReviewed-by: Omar Sandoval <osandov@fb.com>\nCc: Chris Mason <clm@fb.com>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/f0312210010bf063c29efe112b0d9accbc9191b3"},{"sha":"280db3c88c5ff03c2554d1503451352fde8a2cf3","author":{"name":"Miklos Szeredi","email":"c27ee2952768e22f4d3ab9aec0e78ac5f4ddea98@redhat.com"},"message":"f2fs: use filemap_check_errors()\n\nSigned-off-by: Miklos Szeredi <mszeredi@redhat.com>\nCc: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/sudipm-mukherjee/parport/commits/280db3c88c5ff03c2554d1503451352fde8a2cf3"}]}
{"actor":{"display_login":"sudipm-mukherjee"}}