X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=block%2Fcmd-filter.c;h=504b275e1b905a5ffe6d42695acbefe6fd0fff55;hb=cb110171a65c5a2d85ec814d498986db611040fd;hp=e669aed4c6bcd8896434b7625766d8f2772f2ad3;hpb=acbaa41a780490c791492c41144c774c04875af1;p=linux-2.6-omap-h63xx.git diff --git a/block/cmd-filter.c b/block/cmd-filter.c index e669aed4c6b..504b275e1b9 100644 --- a/block/cmd-filter.c +++ b/block/cmd-filter.c @@ -27,7 +27,7 @@ #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))