mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull misc VFS fixes from Al Viro: "Remove a bogus BUG_ON() that can trigger spuriously + alpha bits of do_mount() constification I'd missed during the merge window." This pull request came in a week ago, I missed it for some reason. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: kill bogus BUG_ON() in do_close_on_exec() missing const in alpha callers of do_mount()
This commit is contained in:
commit
8d938105e4
2 changed files with 3 additions and 4 deletions
|
|
@ -685,7 +685,6 @@ void do_close_on_exec(struct files_struct *files)
|
|||
struct fdtable *fdt;
|
||||
|
||||
/* exec unshares first */
|
||||
BUG_ON(atomic_read(&files->count) != 1);
|
||||
spin_lock(&files->file_lock);
|
||||
for (i = 0; ; i++) {
|
||||
unsigned long set;
|
||||
|
|
|
|||
Loading…
Reference in a new issue