diff options
-rw-r--r-- | cmds-qgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-qgroup.c b/cmds-qgroup.c index c4122bfd..70019d01 100644 --- a/cmds-qgroup.c +++ b/cmds-qgroup.c @@ -50,7 +50,7 @@ static int qgroup_assign(int assign, int argc, char **argv) /* * FIXME src should accept subvol path */ - if (args.src >= args.dst) { + if ((args.src >> 48) >= (args.dst >> 48)) { fprintf(stderr, "ERROR: bad relation requested '%s'\n", path); return 12; } |