X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=block%2Fcmd-filter.c;h=504b275e1b905a5ffe6d42695acbefe6fd0fff55;hb=9144f3821d2cba9f16cdf3ff1b881384f4b68b53;hp=e669aed4c6bcd8896434b7625766d8f2772f2ad3;hpb=46b5e34029fef7a042f3ff16e319e737257e5c7b;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))