X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fllite%2Fvvp_io.c;h=39b308e352eb8f2d613bdd05b61c35856456ad87;hb=refs%2Fchanges%2F02%2F34602%2F11;hp=212ac9d5b955611198198ca587a169600e15b85d;hpb=a155c3fca38d2a3092f9b5d116ad7877d51d1db1;p=fs%2Flustre-release.git diff --git a/lustre/llite/vvp_io.c b/lustre/llite/vvp_io.c index 212ac9d..39b308e 100644 --- a/lustre/llite/vvp_io.c +++ b/lustre/llite/vvp_io.c @@ -1066,7 +1066,7 @@ static int vvp_io_write_start(const struct lu_env *env, if (pos + cnt > ll_file_maxbytes(inode)) { CDEBUG(D_INODE, "%s: file %s ("DFID") offset %llu > maxbytes %llu\n", - ll_get_fsname(inode->i_sb, NULL, 0), + ll_i2sbi(inode)->ll_fsname, file_dentry(file)->d_name.name, PFID(ll_inode2fid(inode)), pos + cnt, ll_file_maxbytes(inode)); @@ -1500,8 +1500,8 @@ int vvp_io_init(const struct lu_env *env, struct cl_object *obj, result = 0; if (result < 0) CERROR("%s: refresh file layout " DFID " error %d.\n", - ll_get_fsname(inode->i_sb, NULL, 0), - PFID(lu_object_fid(&obj->co_lu)), result); + ll_i2sbi(inode)->ll_fsname, + PFID(lu_object_fid(&obj->co_lu)), result); } io->ci_result = result < 0 ? result : 0;