diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-28 04:24:24 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-28 04:24:24 +0300 |
commit | 6b9f1633537e2ff06eb1a0741e4598a294f40fcb (patch) | |
tree | a13f4f3558c2988bc95b5a59c9996da64a0bd570 /util-linux/mount.c | |
parent | 17323a6245597f16321e6bf99536ae9bb89c79cf (diff) |
*: style fixes. no code changes (verified with objdump)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r-- | util-linux/mount.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index 52ced7acd..23a345931 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -907,10 +907,12 @@ get_mountport(struct pmap *pm_mnt, goto next; if (version && version <= 2 && pmap->pml_map.pm_vers > 2) goto next; - if (pmap->pml_map.pm_vers > MAX_NFSPROT || - (proto && pm_mnt->pm_prot && pmap->pml_map.pm_prot != proto) || - (port && pmap->pml_map.pm_port != port)) + if (pmap->pml_map.pm_vers > MAX_NFSPROT + || (proto && pm_mnt->pm_prot && pmap->pml_map.pm_prot != proto) + || (port && pmap->pml_map.pm_port != port) + ) { goto next; + } memcpy(pm_mnt, &pmap->pml_map, sizeof(*pm_mnt)); next: pmap = pmap->pml_next; |