]> 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)
commitd1630b152fcb968204328c82e4444114f9ba36e0
treec5ff822c89193cc6cad952cf24a06cd4a1f706eb
parentbf17f95934ad16844ebaeb69e55157d08f1294b9
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