aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2012-07-25 14:59:54 -0400
committerSteve French <[email protected]>2012-07-25 14:51:30 -0500
commit764a1b1acecedfe204cb2e80d8e2cc7c6df1b0b8 (patch)
treeaf7744be5e620a924d057a8593babea75be5799d /lib/mpi/mpi-bit.c
parent29e20f9c65fae245d6fd4fce31cc5d01cde3d93f (diff)
cifs: ensure that we always do cifsFileInfo_get under the spinlock
The readpages bug is a regression that was introduced in 6993f74a5. This also fixes a couple of similar bugs in the uncached read and write codepaths. Also, prevent this sort of thing in the future by having cifsFileInfo_get take the spinlock itself, and adding a _locked variant for use in places that are already holding the lock. The _put code has always done that so this makes for a less confusing interface. Cc: <[email protected]> # 3.5.x Reviewed-by: Pavel Shilovsky <[email protected]> Signed-off-by: Jeff Layton <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions