ceph: fix uid/gid on resent mds requests
authorSage Weil <sage@newdream.net>
Mon, 8 Nov 2010 15:28:52 +0000 (07:28 -0800)
committerSage Weil <sage@newdream.net>
Mon, 8 Nov 2010 15:29:05 +0000 (07:29 -0800)
MDS requests can be rebuilt and resent in non-process context, but were
filling in uid/gid from current_fsuid/gid.  Put that information in the
request struct on request setup.

This fixes incorrect (and root) uid/gid getting set for requests that
are forwarded between MDSs, usually due to metadata migrations.

Signed-off-by: Sage Weil <sage@newdream.net>

No differences found