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 ocfs2: Write support for directories with inline data 2007-10-12 11:54:41 -07:00
aops.c ocfs2: fix write() performance regression 2007-11-06 15:35:29 -08:00
aops.h ocfs2: convert to new aops 2007-10-16 09:42:58 -07:00
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 ocfs2: Rename cleanups 2007-10-12 11:54:38 -07:00
dlmglue.c ocfs2: Create locks at initially requested level 2007-11-06 15:31:45 -08:00
dlmglue.h ocfs2: Structure updates for inline data 2007-10-12 11:54:39 -07:00
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 ocfs2: Read support for inline data 2007-10-12 11:54:39 -07:00
extent_map.h
file.c ocfs2: Commit journal on sync writes 2007-11-06 15:32:00 -08:00
file.h ocfs2: move nonsparse hole-filling into ocfs2_write_begin() 2007-10-12 11:54:35 -07:00
heartbeat.c
heartbeat.h
inode.c ocfs2: Write support for inline data 2007-10-12 11:54:40 -07:00
inode.h ocfs2: Structure updates for inline data 2007-10-12 11:54:39 -07:00
ioctl.c
ioctl.h
journal.c ocfs2: Remove open coded readdir() 2007-10-12 11:54:37 -07:00
journal.h ocfs2: Write support for inline data 2007-10-12 11:54:40 -07:00
localalloc.c ocfs2: Unlock mutex in local alloc failure case 2007-10-03 11:14:45 -07:00
localalloc.h ocfs2: Allow smaller allocations during large writes 2007-09-20 15:06:09 -07:00
Makefile
mmap.c
mmap.h
namei.c ocfs2: fix rename vs unlink race 2007-11-06 15:35:40 -08:00
namei.h ocfs2: Move directory manipulation code into dir.c 2007-10-12 11:54:36 -07:00
ocfs1_fs_compat.h
ocfs2_fs.h ocfs2: Structure updates for inline data 2007-10-12 11:54:39 -07:00
ocfs2_lockid.h
ocfs2.h ocfs2: Structure updates for inline data 2007-10-12 11:54:39 -07:00
slot_map.c
slot_map.h
suballoc.c ocfs2: Allow smaller allocations during large writes 2007-09-20 15:06:09 -07:00
suballoc.h ocfs2: Allow smaller allocations during large writes 2007-09-20 15:06:09 -07:00
super.c Slab API: remove useless ctor parameter and reorder parameters 2007-10-17 08:42:45 -07:00
super.h ocfs2: use s_maxbytes directly in ocfs2_change_file_space() 2007-08-09 17:25:07 -07:00
symlink.c
symlink.h
sysfile.c ocfs2: Provide convenience function for ino lookup 2007-10-12 11:54:38 -07:00
sysfile.h
uptodate.c
uptodate.h
ver.c
ver.h
vote.c ocfs2: Pack vote message and response structures 2007-09-20 15:06:10 -07:00
vote.h