Nitpick: Ah, I guess you're looking at a different version of shiftfs - the eoan version I'm looking at uses the same ->f_op->open handler for both. If you have to do two separate checks anyway, the standard way would be to just compare the ->f_op pointer instead of the ->f_op->open handler - but that doesn't really matter.
Nitpick: Ah, I guess you're looking at a different version of shiftfs - the eoan version I'm looking at uses the same ->f_op->open handler for both. If you have to do two separate checks anyway, the standard way would be to just compare the ->f_op pointer instead of the ->f_op->open handler - but that doesn't really matter.