Merge branch 'linus' into locking/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
@@ -1085,6 +1085,9 @@ config PROVE_LOCKING
|
||||
|
||||
For more details, see Documentation/locking/lockdep-design.txt.
|
||||
|
||||
config PROVE_LOCKING_SMALL
|
||||
bool
|
||||
|
||||
config LOCKDEP
|
||||
bool
|
||||
depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT
|
||||
|
@@ -683,10 +683,11 @@ static void pipe_advance(struct iov_iter *i, size_t size)
|
||||
struct pipe_inode_info *pipe = i->pipe;
|
||||
struct pipe_buffer *buf;
|
||||
int idx = i->idx;
|
||||
size_t off = i->iov_offset;
|
||||
size_t off = i->iov_offset, orig_sz;
|
||||
|
||||
if (unlikely(i->count < size))
|
||||
size = i->count;
|
||||
orig_sz = size;
|
||||
|
||||
if (size) {
|
||||
if (off) /* make it relative to the beginning of buffer */
|
||||
@@ -713,6 +714,7 @@ static void pipe_advance(struct iov_iter *i, size_t size)
|
||||
pipe->nrbufs--;
|
||||
}
|
||||
}
|
||||
i->count -= orig_sz;
|
||||
}
|
||||
|
||||
void iov_iter_advance(struct iov_iter *i, size_t size)
|
||||
|
@@ -192,6 +192,7 @@ void depot_fetch_stack(depot_stack_handle_t handle, struct stack_trace *trace)
|
||||
trace->entries = stack->entries;
|
||||
trace->skip = 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(depot_fetch_stack);
|
||||
|
||||
/**
|
||||
* depot_save_stack - save stack in a stack depot.
|
||||
@@ -283,3 +284,4 @@ exit:
|
||||
fast_exit:
|
||||
return retval;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(depot_save_stack);
|
||||
|
Reference in New Issue
Block a user