summaryrefslogtreecommitdiffstats
path: root/crypto/scatterwalk.c
diff options
context:
space:
mode:
authorDave Kleikamp <dave.kleikamp@oracle.com>2015-07-15 19:52:47 +0200
committerDave Kleikamp <dave.kleikamp@oracle.com>2015-07-15 21:11:30 +0200
commit26456955719b79cc4a011b18221aa68f599f6b6c (patch)
tree2228980d70a85410beb6b473a8fb58b31a882fbc /crypto/scatterwalk.c
parentjfs: fix indentation on if statement (diff)
downloadlinux-26456955719b79cc4a011b18221aa68f599f6b6c.tar.xz
linux-26456955719b79cc4a011b18221aa68f599f6b6c.zip
jfs: clean up jfs_rename and fix out of order unlock
The end of jfs_rename(), which is also used by the error paths, included a call to IWRITE_UNLOCK(new_ip) after labels out1, out2 and out3. If we come in through these labels, IWRITE_LOCK() has not been called yet. In moving that call to the correct spot, I also moved some exceptional truncate code earlier as well, since the early error paths don't need to deal with it, and I renamed out4: to out_tx: so a future patch by Jan Kara doesn't need to deal with renumbering or confusing out-of-order labels. Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'crypto/scatterwalk.c')
0 files changed, 0 insertions, 0 deletions