diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2012-05-22 23:41:34 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-05-22 12:15:48 -0700 |
commit | 0a1ca704cc5668a8d227b07565ea17a462666efb (patch) | |
tree | 289eb9d323a870186b43f517cc7a0bc996b2491c /xlators/mount | |
parent | 7fcdcebd81fd38cbb59cf9a890e44ac01b08c3ee (diff) |
mount.glusterfs: use proper format specifer for getting the inode number and
device type for the mount point
Change-Id: I3ca46cce61a08c8636ee9fc031a37a0a4bcb728e
BUG: 764655
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Reviewed-on: http://review.gluster.com/3410
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/mount')
-rwxr-xr-x | xlators/mount/fuse/utils/mount.glusterfs.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in index 0181e4e174c..2901873e3cf 100755 --- a/xlators/mount/fuse/utils/mount.glusterfs.in +++ b/xlators/mount/fuse/utils/mount.glusterfs.in @@ -41,8 +41,8 @@ _init () mounttab=/proc/mounts ;; Linux) - getinode="stat -c $i" - getdev="stat -c $d" + getinode="stat -c %i $i" + getdev="stat -c %d $d" lgetinode="${getinode} -L" lgetdev="${getdev} -L" |