/linux/fs/ocfs2/ |
H A D | super.c | 97 static void ocfs2_delete_osb(struct ocfs2_super *osb); 103 static int ocfs2_init_global_system_inodes(struct ocfs2_super *osb); 104 static int ocfs2_init_local_system_inodes(struct ocfs2_super *osb); 105 static void ocfs2_release_system_inodes(struct ocfs2_super *osb); 106 static int ocfs2_check_volume(struct ocfs2_super *osb); 121 static int ocfs2_susp_quotas(struct ocfs2_super *osb, int unsuspend); 122 static int ocfs2_enable_quotas(struct ocfs2_super *osb); 123 static void ocfs2_disable_quotas(struct ocfs2_super *osb); 212 static int ocfs2_osb_dump(struct ocfs2_super *osb, char *buf, int len) in ocfs2_osb_dump() argument 214 struct ocfs2_cluster_connection *cconn = osb->cconn; in ocfs2_osb_dump() [all …]
|
H A D | journal.c | 49 static int ocfs2_recover_node(struct ocfs2_super *osb, 52 static int ocfs2_commit_cache(struct ocfs2_super *osb); 53 static int __ocfs2_wait_on_mount(struct ocfs2_super *osb, int quota); 54 static int ocfs2_journal_toggle_dirty(struct ocfs2_super *osb, 56 static int ocfs2_trylock_journal(struct ocfs2_super *osb, 58 static int ocfs2_recover_orphans(struct ocfs2_super *osb, 69 static inline int ocfs2_wait_on_mount(struct ocfs2_super *osb) in ocfs2_wait_on_mount() argument 71 return __ocfs2_wait_on_mount(osb, 0); in ocfs2_wait_on_mount() 74 static inline int ocfs2_wait_on_quotas(struct ocfs2_super *osb) in ocfs2_wait_on_quotas() argument 76 return __ocfs2_wait_on_mount(osb, 1); in ocfs2_wait_on_quotas() [all …]
|
H A D | localalloc.c | 37 static int ocfs2_local_alloc_find_clear_bits(struct ocfs2_super *osb, 44 static int ocfs2_sync_local_to_main(struct ocfs2_super *osb, 50 static int ocfs2_local_alloc_reserve_for_window(struct ocfs2_super *osb, 55 static int ocfs2_local_alloc_new_window(struct ocfs2_super *osb, 59 static int ocfs2_local_alloc_slide_window(struct ocfs2_super *osb, 101 unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb) in ocfs2_la_default_mb() argument 107 struct super_block *sb = osb->sb; in ocfs2_la_default_mb() 109 gd_mb = ocfs2_clusters_to_megabytes(osb->sb, in ocfs2_la_default_mb() 110 8 * ocfs2_group_bitmap_size(sb, 0, osb->s_feature_incompat)); in ocfs2_la_default_mb() 117 if ((sb->s_blocksize == 512 && osb->s_clustersize <= 8192) in ocfs2_la_default_mb() [all …]
|
H A D | slot_map.c | 116 int ocfs2_refresh_slot_info(struct ocfs2_super *osb) in ocfs2_refresh_slot_info() argument 119 struct ocfs2_slot_info *si = osb->slot_info; in ocfs2_refresh_slot_info() 137 spin_lock(&osb->osb_lock); in ocfs2_refresh_slot_info() 139 spin_unlock(&osb->osb_lock); in ocfs2_refresh_slot_info() 183 static int ocfs2_update_disk_slot(struct ocfs2_super *osb, in ocfs2_update_disk_slot() argument 190 spin_lock(&osb->osb_lock); in ocfs2_update_disk_slot() 195 spin_unlock(&osb->osb_lock); in ocfs2_update_disk_slot() 197 status = ocfs2_write_block(osb, bh, INODE_CACHE(si->si_inode)); in ocfs2_update_disk_slot() 208 static int ocfs2_slot_map_physical_size(struct ocfs2_super *osb, in ocfs2_slot_map_physical_size() argument 214 if (ocfs2_uses_extended_slot_map(osb)) { in ocfs2_slot_map_physical_size() [all …]
|
H A D | dlmglue.c | 98 static void ocfs2_dentry_post_unlock(struct ocfs2_super *osb, 333 static int ocfs2_lock_create(struct ocfs2_super *osb, 339 static void __ocfs2_cluster_unlock(struct ocfs2_super *osb, 342 static inline void ocfs2_cluster_unlock(struct ocfs2_super *osb, in ocfs2_cluster_unlock() argument 346 __ocfs2_cluster_unlock(osb, lockres, level, _RET_IP_); in ocfs2_cluster_unlock() 353 static void ocfs2_schedule_blocked_lock(struct ocfs2_super *osb, 367 static void ocfs2_downconvert_on_unlock(struct ocfs2_super *osb, 371 static void ocfs2_drop_osb_locks(struct ocfs2_super *osb); 375 static int ocfs2_downconvert_lock(struct ocfs2_super *osb, 380 static int ocfs2_prepare_cancel_convert(struct ocfs2_super *osb, [all …]
|
H A D | sysfile.c | 26 static struct inode * _ocfs2_get_system_file_inode(struct ocfs2_super *osb, 40 static struct inode **get_local_system_inode(struct ocfs2_super *osb, in get_local_system_inode() argument 51 spin_lock(&osb->osb_lock); in get_local_system_inode() 52 local_system_inodes = osb->local_system_inodes; in get_local_system_inode() 53 spin_unlock(&osb->osb_lock); in get_local_system_inode() 59 osb->max_slots), in get_local_system_inode() 71 spin_lock(&osb->osb_lock); in get_local_system_inode() 72 if (osb->local_system_inodes) { in get_local_system_inode() 75 local_system_inodes = osb->local_system_inodes; in get_local_system_inode() 77 osb->local_system_inodes = local_system_inodes; in get_local_system_inode() [all …]
|
H A D | heartbeat.c | 36 void ocfs2_init_node_maps(struct ocfs2_super *osb) in ocfs2_init_node_maps() argument 38 spin_lock_init(&osb->node_map_lock); in ocfs2_init_node_maps() 39 ocfs2_node_map_init(&osb->osb_recovering_orphan_dirs); in ocfs2_init_node_maps() 44 struct ocfs2_super *osb = data; in ocfs2_do_node_down() local 46 BUG_ON(osb->node_num == node_num); in ocfs2_do_node_down() 50 if (!osb->cconn) { in ocfs2_do_node_down() 60 ocfs2_recovery_thread(osb, node_num); in ocfs2_do_node_down() 63 void ocfs2_node_map_set_bit(struct ocfs2_super *osb, in ocfs2_node_map_set_bit() argument 70 spin_lock(&osb->node_map_lock); in ocfs2_node_map_set_bit() 72 spin_unlock(&osb->node_map_lock); in ocfs2_node_map_set_bit() [all …]
|
H A D | ocfs2.h | 515 static inline int ocfs2_sparse_alloc(struct ocfs2_super *osb) in ocfs2_sparse_alloc() argument 517 if (osb->s_feature_incompat & OCFS2_FEATURE_INCOMPAT_SPARSE_ALLOC) in ocfs2_sparse_alloc() 522 static inline int ocfs2_writes_unwritten_extents(struct ocfs2_super *osb) in ocfs2_writes_unwritten_extents() argument 527 if (!ocfs2_sparse_alloc(osb)) in ocfs2_writes_unwritten_extents() 530 if (osb->s_feature_ro_compat & OCFS2_FEATURE_RO_COMPAT_UNWRITTEN) in ocfs2_writes_unwritten_extents() 535 static inline int ocfs2_supports_append_dio(struct ocfs2_super *osb) in ocfs2_supports_append_dio() argument 537 if (osb->s_feature_incompat & OCFS2_FEATURE_INCOMPAT_APPEND_DIO) in ocfs2_supports_append_dio() 543 static inline int ocfs2_supports_inline_data(struct ocfs2_super *osb) in ocfs2_supports_inline_data() argument 545 if (osb->s_feature_incompat & OCFS2_FEATURE_INCOMPAT_INLINE_DATA) in ocfs2_supports_inline_data() 550 static inline int ocfs2_supports_xattr(struct ocfs2_super *osb) in ocfs2_supports_xattr() argument [all …]
|
H A D | journal.h | 133 static inline void ocfs2_ci_set_new(struct ocfs2_super *osb, in ocfs2_ci_set_new() argument 137 ci->ci_created_trans = osb->journal->j_trans_id; in ocfs2_ci_set_new() 142 void ocfs2_orphan_scan_init(struct ocfs2_super *osb); 143 void ocfs2_orphan_scan_start(struct ocfs2_super *osb); 144 void ocfs2_orphan_scan_stop(struct ocfs2_super *osb); 147 void ocfs2_wait_for_recovery(struct ocfs2_super *osb); 149 int ocfs2_recovery_init(struct ocfs2_super *osb); 150 void ocfs2_recovery_exit(struct ocfs2_super *osb); 152 int ocfs2_compute_replay_slots(struct ocfs2_super *osb); 153 void ocfs2_free_replay_slots(struct ocfs2_super *osb); [all …]
|
H A D | localalloc.h | 13 int ocfs2_load_local_alloc(struct ocfs2_super *osb); 15 void ocfs2_shutdown_local_alloc(struct ocfs2_super *osb); 17 void ocfs2_la_set_sizes(struct ocfs2_super *osb, int requested_mb); 18 unsigned int ocfs2_la_default_mb(struct ocfs2_super *osb); 20 int ocfs2_begin_local_alloc_recovery(struct ocfs2_super *osb, 24 int ocfs2_complete_local_alloc_recovery(struct ocfs2_super *osb, 27 int ocfs2_alloc_should_use_local(struct ocfs2_super *osb, 31 int ocfs2_reserve_local_alloc_bits(struct ocfs2_super *osb, 35 int ocfs2_claim_local_alloc_bits(struct ocfs2_super *osb, 42 int ocfs2_free_local_alloc_bits(struct ocfs2_super *osb, [all …]
|
H A D | dlmglue.h | 105 int ocfs2_dlm_init(struct ocfs2_super *osb); 106 void ocfs2_dlm_shutdown(struct ocfs2_super *osb, int hangup_pending); 121 struct ocfs2_super *osb, u64 ref_blkno, 157 int ocfs2_super_lock(struct ocfs2_super *osb, 159 void ocfs2_super_unlock(struct ocfs2_super *osb, 161 int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, u32 *seqno); 162 void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, u32 seqno); 164 int ocfs2_rename_lock(struct ocfs2_super *osb); 165 void ocfs2_rename_unlock(struct ocfs2_super *osb); 166 int ocfs2_nfs_sync_lock(struct ocfs2_super *osb, int ex); [all …]
|
H A D | namei.c | 55 static int ocfs2_mknod_locked(struct ocfs2_super *osb, 64 static int ocfs2_prepare_orphan_dir(struct ocfs2_super *osb, 71 static int ocfs2_orphan_add(struct ocfs2_super *osb, 80 static int ocfs2_create_symlink_data(struct ocfs2_super *osb, 85 static int ocfs2_double_lock(struct ocfs2_super *osb, 211 static void ocfs2_cleanup_add_entry_failure(struct ocfs2_super *osb, in ocfs2_cleanup_add_entry_failure() argument 216 ocfs2_simple_drop_lockres(osb, &dl->dl_lockres); in ocfs2_cleanup_add_entry_failure() 235 struct ocfs2_super *osb; in ocfs2_mknod() local 267 osb = OCFS2_SB(dir->i_sb); in ocfs2_mknod() 276 if (S_ISDIR(mode) && (dir->i_nlink >= ocfs2_link_max(osb))) { in ocfs2_mknod() [all …]
|
H A D | slot_map.h | 14 int ocfs2_init_slot_info(struct ocfs2_super *osb); 15 void ocfs2_free_slot_info(struct ocfs2_super *osb); 17 int ocfs2_find_slot(struct ocfs2_super *osb); 18 void ocfs2_put_slot(struct ocfs2_super *osb); 20 int ocfs2_refresh_slot_info(struct ocfs2_super *osb); 22 int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num); 23 int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num, 26 int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num);
|
H A D | resize.c | 85 struct ocfs2_super *osb = OCFS2_SB(bm_inode->i_sb); in ocfs2_update_last_group_and_inode() local 119 if (OCFS2_HAS_COMPAT_FEATURE(osb->sb, in ocfs2_update_last_group_and_inode() 156 le64_add_cpu(&fe->i_size, (u64)new_clusters << osb->s_clustersize_bits); in ocfs2_update_last_group_and_inode() 185 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in update_backups() local 194 ret = ocfs2_read_blocks_sync(osb, blkno, 1, &backup); in update_backups() 205 ret = ocfs2_write_super_or_backup(osb, backup); in update_backups() 224 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_update_super_and_backups() local 230 ret = ocfs2_read_blocks_sync(osb, OCFS2_SUPER_BLOCK_BLKNO, 1, in ocfs2_update_super_and_backups() 241 ret = ocfs2_write_super_or_backup(osb, super_bh); in ocfs2_update_super_and_backups() 247 if (OCFS2_HAS_COMPAT_FEATURE(osb->sb, OCFS2_FEATURE_COMPAT_BACKUP_SB)) in ocfs2_update_super_and_backups() [all …]
|
H A D | file.c | 71 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_free_file_private() local 74 ocfs2_simple_drop_lockres(osb, &fp->fp_flock); in ocfs2_free_file_private() 169 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_sync_file() local 171 journal_t *journal = osb->journal->j_journal; in ocfs2_sync_file() 182 if (ocfs2_is_hard_readonly(osb) || ocfs2_is_soft_readonly(osb)) in ocfs2_sync_file() 210 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_should_update_atime() local 212 if (ocfs2_is_hard_readonly(osb) || ocfs2_is_soft_readonly(osb)) in ocfs2_should_update_atime() 247 if ((now.tv_sec - inode_get_atime_sec(inode) <= osb->s_atime_quantum)) in ocfs2_should_update_atime() 257 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_update_inode_atime() local 261 handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS); in ocfs2_update_inode_atime() [all …]
|
H A D | alloc.c | 219 struct ocfs2_super *osb = OCFS2_SB(oi->vfs_inode.i_sb); in ocfs2_dinode_insert_check() local 222 mlog_bug_on_msg(!ocfs2_sparse_alloc(osb) && in ocfs2_dinode_insert_check() 226 osb->dev_str, in ocfs2_dinode_insert_check() 1002 struct ocfs2_super *osb = in ocfs2_create_new_meta_bhs() local 1021 bhs[i] = sb_getblk(osb->sb, first_blkno); in ocfs2_create_new_meta_bhs() 1037 memset(bhs[i]->b_data, 0, osb->sb->s_blocksize); in ocfs2_create_new_meta_bhs() 1042 eb->h_fs_generation = cpu_to_le32(osb->fs_generation); in ocfs2_create_new_meta_bhs() 1048 cpu_to_le16(ocfs2_extent_recs_per_eb(osb->sb)); in ocfs2_create_new_meta_bhs() 3110 static int ocfs2_remove_rightmost_empty_extent(struct ocfs2_super *osb, in ocfs2_remove_rightmost_empty_extent() argument 3119 handle = ocfs2_start_trans(osb, credits); in ocfs2_remove_rightmost_empty_extent() [all …]
|
H A D | alloc.h | 159 int ocfs2_truncate_log_init(struct ocfs2_super *osb); 160 void ocfs2_truncate_log_shutdown(struct ocfs2_super *osb); 161 void ocfs2_schedule_truncate_log_flush(struct ocfs2_super *osb, 163 int ocfs2_flush_truncate_log(struct ocfs2_super *osb); 164 int ocfs2_begin_truncate_log_recovery(struct ocfs2_super *osb, 167 int ocfs2_complete_truncate_log_recovery(struct ocfs2_super *osb, 169 int ocfs2_truncate_log_needs_flush(struct ocfs2_super *osb); 170 int ocfs2_truncate_log_append(struct ocfs2_super *osb, 174 int __ocfs2_flush_truncate_log(struct ocfs2_super *osb); 175 int ocfs2_try_to_free_truncate_log(struct ocfs2_super *osb, [all …]
|
H A D | refcounttree.c | 195 ocfs2_find_refcount_tree(struct ocfs2_super *osb, u64 blkno) in ocfs2_find_refcount_tree() argument 197 struct rb_node *n = osb->osb_rf_lock_tree.rb_node; in ocfs2_find_refcount_tree() 215 static void ocfs2_insert_refcount_tree(struct ocfs2_super *osb, in ocfs2_insert_refcount_tree() argument 220 struct rb_node **p = &osb->osb_rf_lock_tree.rb_node; in ocfs2_insert_refcount_tree() 242 rb_insert_color(&new->rf_node, &osb->osb_rf_lock_tree); in ocfs2_insert_refcount_tree() 254 ocfs2_erase_refcount_tree_from_list_no_lock(struct ocfs2_super *osb, in ocfs2_erase_refcount_tree_from_list_no_lock() argument 257 rb_erase(&tree->rf_node, &osb->osb_rf_lock_tree); in ocfs2_erase_refcount_tree_from_list_no_lock() 258 if (osb->osb_ref_tree_lru && osb->osb_ref_tree_lru == tree) in ocfs2_erase_refcount_tree_from_list_no_lock() 259 osb->osb_ref_tree_lru = NULL; in ocfs2_erase_refcount_tree_from_list_no_lock() 262 static void ocfs2_erase_refcount_tree_from_list(struct ocfs2_super *osb, in ocfs2_erase_refcount_tree_from_list() argument [all …]
|
H A D | aops.c | 48 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_symlink_get_block() local 83 buffer_cache_bh = sb_getblk(osb->sb, blkno); in ocfs2_symlink_get_block() 141 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_get_block() local 178 if (create && p_blkno == 0 && ocfs2_sparse_alloc(osb)) { in ocfs2_get_block() 190 if (!ocfs2_sparse_alloc(osb)) { in ocfs2_get_block() 502 static void ocfs2_figure_cluster_boundaries(struct ocfs2_super *osb, in ocfs2_figure_cluster_boundaries() argument 509 if (unlikely(PAGE_SHIFT > osb->s_clustersize_bits)) { in ocfs2_figure_cluster_boundaries() 512 cpp = 1 << (PAGE_SHIFT - osb->s_clustersize_bits); in ocfs2_figure_cluster_boundaries() 515 cluster_start = cluster_start << osb->s_clustersize_bits; in ocfs2_figure_cluster_boundaries() 517 cluster_end = cluster_start + osb->s_clustersize; in ocfs2_figure_cluster_boundaries() [all …]
|
H A D | filecheck.c | 166 int ocfs2_filecheck_create_sysfs(struct ocfs2_super *osb) in ocfs2_filecheck_create_sysfs() argument 170 struct ocfs2_filecheck_sysfs_entry *entry = &osb->osb_fc_ent; in ocfs2_filecheck_create_sysfs() 182 entry->fs_kobj.kset = osb->osb_dev_kset; in ocfs2_filecheck_create_sysfs() 196 void ocfs2_filecheck_remove_sysfs(struct ocfs2_super *osb) in ocfs2_filecheck_remove_sysfs() argument 198 if (!osb->osb_fc_ent.fs_fcheck) in ocfs2_filecheck_remove_sysfs() 201 kobject_del(&osb->osb_fc_ent.fs_kobj); in ocfs2_filecheck_remove_sysfs() 202 kobject_put(&osb->osb_fc_ent.fs_kobj); in ocfs2_filecheck_remove_sysfs() 203 wait_for_completion(&osb->osb_fc_ent.fs_kobj_unregister); in ocfs2_filecheck_remove_sysfs() 204 ocfs2_filecheck_sysfs_free(&osb->osb_fc_ent); in ocfs2_filecheck_remove_sysfs() 406 ocfs2_filecheck_handle(struct ocfs2_super *osb, in ocfs2_filecheck_handle() argument [all …]
|
H A D | dir.c | 71 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_supports_dir_trailer() local 76 return ocfs2_meta_ecc(osb) || ocfs2_dir_indexed(dir); in ocfs2_supports_dir_trailer() 89 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_new_dir_wants_trailer() local 91 return ocfs2_meta_ecc(osb) || in ocfs2_new_dir_wants_trailer() 92 ocfs2_supports_indexed_dirs(osb); in ocfs2_new_dir_wants_trailer() 254 struct ocfs2_super *osb = OCFS2_SB(dir->i_sb); in ocfs2_dx_dir_name_hash() local 278 memcpy(buf, osb->osb_dx_seed, sizeof(buf)); in ocfs2_dx_dir_name_hash() 836 static inline unsigned int __ocfs2_dx_dir_hash_idx(struct ocfs2_super *osb, in __ocfs2_dx_dir_hash_idx() argument 839 return minor_hash & osb->osb_dx_mask; in __ocfs2_dx_dir_hash_idx() 842 static inline unsigned int ocfs2_dx_dir_hash_idx(struct ocfs2_super *osb, in ocfs2_dx_dir_hash_idx() argument [all …]
|
H A D | heartbeat.h | 13 void ocfs2_init_node_maps(struct ocfs2_super *osb); 19 void ocfs2_node_map_set_bit(struct ocfs2_super *osb, 22 void ocfs2_node_map_clear_bit(struct ocfs2_super *osb, 25 int ocfs2_node_map_test_bit(struct ocfs2_super *osb,
|
H A D | dcache.c | 39 struct ocfs2_super *osb; in ocfs2_dentry_revalidate() local 45 osb = OCFS2_SB(dentry->d_sb); in ocfs2_dentry_revalidate() 68 BUG_ON(!osb); in ocfs2_dentry_revalidate() 70 if (inode == osb->root_inode || is_bad_inode(inode)) in ocfs2_dentry_revalidate() 358 static void ocfs2_drop_dentry_lock(struct ocfs2_super *osb, in ocfs2_drop_dentry_lock() argument 362 ocfs2_simple_drop_lockres(osb, &dl->dl_lockres); in ocfs2_drop_dentry_lock() 367 void ocfs2_dentry_lock_put(struct ocfs2_super *osb, in ocfs2_dentry_lock_put() argument 380 ocfs2_drop_dentry_lock(osb, dl); in ocfs2_dentry_lock_put() 437 struct ocfs2_super *osb = OCFS2_SB(old_dir->i_sb); in ocfs2_dentry_move() local 449 ocfs2_dentry_lock_put(osb, dentry->d_fsdata); in ocfs2_dentry_move()
|
H A D | buffer_head_io.c | 38 int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh, in ocfs2_write_block() argument 51 if (ocfs2_is_hard_readonly(osb)) { in ocfs2_write_block() 89 int ocfs2_read_blocks_sync(struct ocfs2_super *osb, u64 block, in ocfs2_read_blocks_sync() argument 109 bhs[i] = sb_getblk(osb->sb, block++); in ocfs2_read_blocks_sync() 428 int ocfs2_write_super_or_backup(struct ocfs2_super *osb, in ocfs2_write_super_or_backup() argument 435 ocfs2_check_super_or_backup(osb->sb, bh->b_blocknr); in ocfs2_write_super_or_backup() 437 if (ocfs2_is_hard_readonly(osb) || ocfs2_is_soft_readonly(osb)) { in ocfs2_write_super_or_backup() 451 ocfs2_compute_meta_ecc(osb->sb, bh->b_data, &di->i_check); in ocfs2_write_super_or_backup()
|
H A D | locks.c | 101 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_flock() local 106 if ((osb->s_mount_opt & OCFS2_MOUNT_LOCALFLOCKS) || in ocfs2_flock() 107 ocfs2_mount_local(osb)) in ocfs2_flock() 119 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_lock() local 124 return ocfs2_plock(osb->cconn, OCFS2_I(inode)->ip_blkno, file, cmd, fl); in ocfs2_lock()
|