[Ocfs2-devel] Re: [PATCH]bugfix for unlinking on 2.6 kernel
Mark Fasheh
mark.fasheh at oracle.com
Tue Mar 16 16:37:41 CST 2004
On Sun, Mar 14, 2004 at 04:58:49PM -0800, Rusty Lynch wrote:
> On a 2.6 kernel, sys_unlink will wrap the call to the filesystem
> unlink function with atomic_inc/atomic_dec of the inode->i_count.
>
> The following minimal patch fixes ocfs_unlink to take this into
> consideration. (Without this patch attempting to delete any file
> on a ocfs2 volume from a 2.6 bases system would result in an -EBUSY
> error.)
Looks good.
--Mark
--
Mark Fasheh
Software Developer, Oracle Corp
mark.fasheh at oracle.com
More information about the Ocfs2-devel
mailing list