static int ll_options(char *options, struct super_block *sb)
{
struct ll_sb_info *sbi = ll_s2sbi(sb);
- char *s2, *s1, *opts, *orig_opts;
+ char *s1, *opts, *orig_opts;
int err = 0;
ENTRY;
if (!opts)
RETURN(-ENOMEM);
s1 = opts;
- s2 = opts;
CDEBUG(D_CONFIG, "Parsing opts %s\n", options);
{
struct lookup_intent *it;
struct dentry *de;
- long long lookup_flags = LOOKUP_OPEN;
struct ll_sb_info *sbi = NULL;
struct pcc_create_attach pca = { NULL, NULL };
int open_threshold;
it->it_op = IT_OPEN;
if (open_flags & O_CREAT) {
it->it_op |= IT_CREAT;
- lookup_flags |= LOOKUP_CREATE;
sbi = ll_i2sbi(dir);
/* Volatile file is used for HSM restore, so do not use PCC */
if (!filename_is_volatile(dentry->d_name.name,
struct cl_io *io, __u64 *kms)
{
struct cl_object *clob;
- struct inode *inode;
struct cl_attr *attr = vvp_env_new_attr(env);
int ret;
clob = io->ci_obj;
- inode = vvp_object_inode(clob);
cl_object_attr_lock(clob);
ret = cl_object_attr_get(env, clob, attr);
struct ll_statahead_info *sai;
struct mdt_body *body;
struct inode *child;
- __u64 handle = 0;
ENTRY;
* process enqueues lock on child with parent lock held, eg.
* unlink.
*/
- handle = it->it_lock_handle;
ll_intent_drop_lock(it);
ll_unlock_md_op_lsm(&item->mop_data);
static void ll_start_agl(struct dentry *parent, struct ll_statahead_info *sai)
{
int node = cfs_cpt_spread_node(cfs_cpt_tab, CFS_CPT_ANY);
- struct ll_inode_info *plli;
struct task_struct *task;
ENTRY;
CDEBUG(D_READA, "start agl thread: sai %p, parent %pd\n",
sai, parent);
- plli = ll_i2info(parent->d_inode);
task = kthread_create_on_node(ll_agl_thread, sai, node, "ll_agl_%d",
sai->sai_pid);
if (IS_ERR(task)) {