cifs: Convert from a kuid before printing current_fsuid
Eric W. Biederman [Wed, 6 Feb 2013 08:44:13 +0000 (00:44 -0800)]
Cc: Steve French <smfrench@gmail.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>

fs/cifs/cifsproto.h

index 0060ec2..feb9b6e 100644 (file)
@@ -46,7 +46,8 @@ extern void _free_xid(unsigned int);
 ({                                                             \
        unsigned int __xid = _get_xid();                                \
        cFYI(1, "CIFS VFS: in %s as Xid: %u with uid: %d",      \
-            __func__, __xid, current_fsuid());                 \
+            __func__, __xid,                                   \
+            from_kuid(&init_user_ns, current_fsuid()));        \
        __xid;                                                  \
 })