Skip to content

Commit

Permalink
cifs: Convert from a kuid before printing current_fsuid
Browse files Browse the repository at this point in the history
Cc: Steve French <[email protected]>
Signed-off-by: "Eric W. Biederman" <[email protected]>
  • Loading branch information
ebiederm committed Feb 13, 2013
1 parent 8abf277 commit dbfb98a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/cifs/cifsproto.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
})

Expand Down

0 comments on commit dbfb98a

Please sign in to comment.