]> git.karo-electronics.de Git - linux-beck.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)
commit114fc47492e23d93653e4a16664833e98d62a563
treec5ff822c89193cc6cad952cf24a06cd4a1f706eb
parent805a6af8dba5dfdd35ec35dc52ec0122400b2610
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