diff options
author | Srinivas Eeda <srinivas.eeda@oracle.com> | 2007-11-01 00:49:43 +0100 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2007-11-07 00:35:40 +0100 |
commit | e325a88f17196f18888f6e1426eb9fe3b4346d28 (patch) | |
tree | 34536cea32f530c0a41df0b8323d1e3a2249a0e6 /drivers/xen | |
parent | [PATCH] Fix possibly too long write in o2hb_setup_one_bio() (diff) | |
download | linux-e325a88f17196f18888f6e1426eb9fe3b4346d28.tar.xz linux-e325a88f17196f18888f6e1426eb9fe3b4346d28.zip |
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>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions