函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:fs\fcntl.c Create Date:2022-07-29 10:35:45
首页 Copyright©Brick

575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
#undef copy_flock_fields
 
static unsigned int
convert_fcntl_cmd(unsigned int cmd)
{
    switch (cmd) {
    case F_GETLK64:
        return F_GETLK;
    case F_SETLK64:
        return F_SETLK;
    case F_SETLKW64:
        return F_SETLKW;
    }
 
    return cmd;
}