On Thu, Aug 07, 2008 at 03:11:55PM +0800, Tiger Yang wrote:
> diff --git a/fs/ocfs2/inode.h b/fs/ocfs2/inode.h
> index 390a855..5e89818 100644
> --- a/fs/ocfs2/inode.h
> +++ b/fs/ocfs2/inode.h
> @@ -40,6 +40,9 @@ struct ocfs2_inode_info
>       /* protects allocation changes on this inode. */
>       struct rw_semaphore             ip_alloc_sem;
>  
> +     /* protects extended attribute changes on this inode */
> +     struct rw_semaphore             xattr_sem;
> +

ip_xattr_sem please. Every other field in that structure is similarly
prefixed. Xattrs don't get to be special in that regard   ;)
        --Mark

--
Mark Fasheh

_______________________________________________
Ocfs2-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-devel

Reply via email to