X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=block%2Fcmd-filter.c;h=504b275e1b905a5ffe6d42695acbefe6fd0fff55;hb=0ff555192a8d20385d49d1c420e2e8d409b3c0da;hp=e669aed4c6bcd8896434b7625766d8f2772f2ad3;hpb=651dab4264e4ba0e563f5ff56f748127246e9065;p=linux-2.6-microblaze.git diff --git a/block/cmd-filter.c b/block/cmd-filter.c index e669aed4c6bc..504b275e1b90 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))