]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: change "ceph.layout" xattr to be "ceph.file.layout"
authorAlex Elder <elder@dreamhost.com>
Thu, 12 Jan 2012 01:41:01 +0000 (17:41 -0800)
committerSage Weil <sage@newdream.net>
Thu, 2 Feb 2012 20:48:52 +0000 (12:48 -0800)
commit046c426f419c4ef9da72ec4139a74143b93c92d1
treec5ff822c89193cc6cad952cf24a06cd4a1f706eb
parentdcfbeb5d1c2d1ead5cbb90b40db5610b24c19663
ceph: change "ceph.layout" xattr to be "ceph.file.layout"

The virtual extended attribute named "ceph.layout" is meaningful
only for regular files.  Change its name to be "ceph.file.layout" to
more directly reflect that in the ceph xattr namespace.  Preserve
the old "ceph.layout" name for the time being (until we decide it's
safe to get rid of it entirely).

Add a missing initializer for "readonly" in the terminating entry.

Signed-off-by: Alex Elder <elder@dreamhost.com>
Reviewed-by: Sage Weil <sage@newdream.net>
fs/ceph/xattr.c