diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-12 12:42:29 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-12 12:42:36 -0700 |
commit | f1b2a5ace996de339292d4035f9f5b294aecd11e (patch) | |
tree | 3bd8144cf1b60e80d33295885b0fe572070e8b52 /fs | |
parent | 5e4c5f4c64902870552d4c15325d9e7d1a39884d (diff) | |
parent | 14835a3325c1f84c3ae6eaf81102a3917e84809e (diff) | |
download | talos-obmc-linux-f1b2a5ace996de339292d4035f9f5b294aecd11e.tar.gz talos-obmc-linux-f1b2a5ace996de339292d4035f9f5b294aecd11e.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
[CIFS] cifs: remove pointless lock and unlock of GlobalMid_Lock in header_assemble
Diffstat (limited to 'fs')
-rw-r--r-- | fs/cifs/misc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/cifs/misc.c b/fs/cifs/misc.c index 654d972a88f4..88786ba02d27 100644 --- a/fs/cifs/misc.c +++ b/fs/cifs/misc.c @@ -311,8 +311,6 @@ header_assemble(struct smb_hdr *buffer, char smb_command /* command */ , buffer->Flags2 = SMBFLG2_KNOWS_LONG_NAMES; buffer->Pid = cpu_to_le16((__u16)current->tgid); buffer->PidHigh = cpu_to_le16((__u16)(current->tgid >> 16)); - spin_lock(&GlobalMid_Lock); - spin_unlock(&GlobalMid_Lock); if (treeCon) { buffer->Tid = treeCon->tid; if (treeCon->ses) { |