• Dave Kleikamp's avatar
    jfs: clean up jfs_rename and fix out of order unlock · 26456955
    Dave Kleikamp authored
    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: default avatarDave Kleikamp <dave.kleikamp@oracle.com>
    26456955
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
acl.c Loading commit data...
file.c Loading commit data...
inode.c Loading commit data...
ioctl.c Loading commit data...
jfs_acl.h Loading commit data...
jfs_btree.h Loading commit data...
jfs_debug.c Loading commit data...
jfs_debug.h Loading commit data...
jfs_dinode.h Loading commit data...
jfs_discard.c Loading commit data...
jfs_discard.h Loading commit data...
jfs_dmap.c Loading commit data...
jfs_dmap.h Loading commit data...
jfs_dtree.c Loading commit data...
jfs_dtree.h Loading commit data...
jfs_extent.c Loading commit data...
jfs_extent.h Loading commit data...
jfs_filsys.h Loading commit data...
jfs_imap.c Loading commit data...
jfs_imap.h Loading commit data...
jfs_incore.h Loading commit data...
jfs_inode.c Loading commit data...
jfs_inode.h Loading commit data...
jfs_lock.h Loading commit data...
jfs_logmgr.c Loading commit data...
jfs_logmgr.h Loading commit data...
jfs_metapage.c Loading commit data...
jfs_metapage.h Loading commit data...
jfs_mount.c Loading commit data...
jfs_superblock.h Loading commit data...
jfs_txnmgr.c Loading commit data...
jfs_txnmgr.h Loading commit data...
jfs_types.h Loading commit data...
jfs_umount.c Loading commit data...
jfs_unicode.c Loading commit data...
jfs_unicode.h Loading commit data...
jfs_uniupr.c Loading commit data...
jfs_xattr.h Loading commit data...
jfs_xtree.c Loading commit data...
jfs_xtree.h Loading commit data...
namei.c Loading commit data...
resize.c Loading commit data...
super.c Loading commit data...
symlink.c Loading commit data...
xattr.c Loading commit data...