X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=block%2Fcmd-filter.c;h=572bbc2f900d89992da0b35d22b16c894e847adf;hb=8e320d02718d2872d52ef88a69a493e420494269;hp=e669aed4c6bcd8896434b7625766d8f2772f2ad3;hpb=71c21b4cf62177a9d1ea46ff4c6073c907122226;p=pandora-kernel.git diff --git a/block/cmd-filter.c b/block/cmd-filter.c index e669aed4c6bc..572bbc2f900d 100644 --- a/block/cmd-filter.c +++ b/block/cmd-filter.c @@ -22,12 +22,13 @@ #include #include #include +#include #include #include int blk_verify_command(struct blk_cmd_filter *filter, - unsigned char *cmd, int has_write_perm) + unsigned char *cmd, fmode_t has_write_perm) { /* root can do any command. */ if (capable(CAP_SYS_RAWIO))