X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fllite%2Frw.c;h=6ca07f7f21dbc9261d772a168884f836f6018e29;hb=refs%2Fchanges%2F40%2F14640%2F6;hp=be4a94fa62cf5fc9872c595976cfdcccd27c30ea;hpb=d231bc874075672d3302727e53baef8f4dd03287;p=fs%2Flustre-release.git diff --git a/lustre/llite/rw.c b/lustre/llite/rw.c index be4a94f..6ca07f7 100644 --- a/lustre/llite/rw.c +++ b/lustre/llite/rw.c @@ -61,14 +61,6 @@ #include "llite_internal.h" #include -struct obd_capa *cl_capa_lookup(struct inode *inode, enum cl_req_type crt) -{ - __u64 opc; - - opc = crt == CRT_WRITE ? CAPA_OPC_OSS_WRITE : CAPA_OPC_OSS_RW; - return ll_osscapa_get(inode, opc); -} - static void ll_ra_stats_inc_sbi(struct ll_sb_info *sbi, enum ra_stat which); /**