1
linux/fs/ocfs2
Srinivas Eeda e325a88f17 ocfs2: fix rename vs unlink race
If another node unlinks the destination while ocfs2_rename() is waiting on a
cluster lock, ocfs2_rename() simply logs an error and continues. This causes
a crash because the renaming node is now trying to delete a non-existent
inode. The correct solution is to return -ENOENT.

Signed-off-by: Srinivas Eeda <srinivas.eeda@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
2007-11-06 15:35:40 -08:00
..
cluster [PATCH] Fix possibly too long write in o2hb_setup_one_bio() 2007-11-06 15:35:35 -08:00
dlm Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
alloc.c [PATCH] Fix priority mistakes in fs/ocfs2/{alloc.c, dlmglue.c} 2007-11-06 15:31:39 -08:00
alloc.h
aops.c ocfs2: fix write() performance regression 2007-11-06 15:35:29 -08:00
aops.h
buffer_head_io.c
buffer_head_io.h
dcache.c ocfs2: Re-order iput in ocfs2_drop_dentry_lock 2007-11-06 15:31:52 -08:00
dcache.h
dir.c [2.6 patch] make ocfs2_find_entry_el() static 2007-11-06 15:31:06 -08:00
dir.h
dlmglue.c ocfs2: Create locks at initially requested level 2007-11-06 15:31:45 -08:00
dlmglue.h
endian.h
export.c exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
export.h exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
extent_map.c
extent_map.h
file.c ocfs2: Commit journal on sync writes 2007-11-06 15:32:00 -08:00
file.h
heartbeat.c
heartbeat.h
inode.c
inode.h
ioctl.c
ioctl.h
journal.c
journal.h
localalloc.c
localalloc.h
Makefile
mmap.c
mmap.h
namei.c ocfs2: fix rename vs unlink race 2007-11-06 15:35:40 -08:00
namei.h
ocfs1_fs_compat.h
ocfs2_fs.h
ocfs2_lockid.h
ocfs2.h
slot_map.c
slot_map.h
suballoc.c
suballoc.h
super.c Slab API: remove useless ctor parameter and reorder parameters 2007-10-17 08:42:45 -07:00
super.h
symlink.c
symlink.h
sysfile.c
sysfile.h
uptodate.c
uptodate.h
ver.c
ver.h
vote.c
vote.h