[Ocfs2-devel] [PATCH 09/15] ocfs2: Add extended attribute support v3

Mark Fasheh mfasheh at suse.com
Mon Aug 11 17:19:01 PDT 2008


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



More information about the Ocfs2-devel mailing list