CIFS: Show backupuid/gid in /proc/mounts
authorSachin Prabhu <sprabhu@redhat.com>
Tue, 24 Apr 2012 14:28:14 +0000 (15:28 +0100)
committerSteve French <sfrench@us.ibm.com>
Tue, 24 Apr 2012 16:36:22 +0000 (11:36 -0500)
commit3c7c87fd5bd71f57c68a64d11a15170d0dc4f7aa
tree0bc095535ad62f5cd235a856f1e190fb7a4b6c6e
parent3af9d8f227a31e25b3110ef175d105798fc147a6
CIFS: Show backupuid/gid in /proc/mounts

Show  backupuid/backupgid in /proc/mounts for cifs shares mounted with
the backupuid/backupgid feature.

Also consolidate the two separate checks for
pvolume_info->backupuid_specified into a single if condition in
cifs_setup_cifs_sb().

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c
fs/cifs/connect.c