From: Greg Farnum Date: Thu, 21 Feb 2013 22:21:08 +0000 (-0800) Subject: mds: allow xattrs on the root inode X-Git-Tag: v0.59~154 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9f82ae60fac30391dfa9d17d2fc014bf9e21f387;p=ceph.git mds: allow xattrs on the root inode This was previously disallowed because Once Upon a Time, the root inode wasn't persisted to disk and was an entirely in-memory construct. But it's safe now, and has been for a while. Signed-off-by: Greg Farnum --- diff --git a/src/mds/Server.cc b/src/mds/Server.cc index 20372947f5f3..4f21601ebe81 100644 --- a/src/mds/Server.cc +++ b/src/mds/Server.cc @@ -3787,10 +3787,6 @@ void Server::handle_client_setxattr(MDRequest *mdr) reply_request(mdr, -EROFS); return; } - if (cur->is_base()) { - reply_request(mdr, -EINVAL); // for now - return; - } int flags = req->head.args.setxattr.flags;