search for: ocfs_sup

Displaying 4 results from an estimated 4 matches for "ocfs_sup".

Did you mean: ocfs2_sup
2004 Jun 14
0
[PATCH] dcache.c polishing
...try_revalidate (struct dentry *dentry, int flags) -#endif +static int ocfs_dentry_revalidate24(struct dentry *dentry, int flags) { - int ret = 0; /* if all else fails, just return false */ struct inode *inode = dentry->d_inode; + int ret = 0; /* if all else fails, just return false */ ocfs_super *osb; -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) - int flags = nd ? nd->flags : 0; -#endif LOG_ENTRY_ARGS ("(0x%p, %d, '%*s')\n", dentry, flags, dentry->d_name.len, dentry->d_name.name); @@ -106,24 +93,21 @@ LOG_EXIT_INT (ret); return ret; -} /...
2004 Sep 03
0
[PATCH] remove unused prototypes from file.c
...========================================= --- src/file.c (revision 1418) +++ src/file.c (working copy) @@ -53,13 +53,7 @@ #define OCFS_DEBUG_CONTEXT OCFS_DEBUG_CONTEXT_FILE -extern struct semaphore recovery_list_sem; -extern spinlock_t oin_num_ext_lock; -static int ocfs_change_file_attrib(ocfs_super *osb, struct iattr *attr, - struct inode *inode); -static int ocfs_truncate_file(ocfs_super *osb, __u64 file_size, - struct inode *inode); static int ocfs2_zero_extend(struct inode *inode); static void ocfs_fe_set_attributes(ocfs2_dinode *fe, struct iattr *attr)
2004 Jun 06
1
[PATCH] use sb_getblk
...((sb)->s_dev) #endif #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) /* No longer exists in 2.5 */ #define fsync_inode_buffers(inode) sync_mapping_buffers(inode->i_mapping) -#define getblk(dev, blk, sz) __getblk(dev, blk, sz) #endif /* >= 2.6.0 */ #define OCFS_SB(sb) ((ocfs_super *)OCFS_GENERIC_SB_MEMBER(sb)) @@ -617,11 +612,7 @@ struct semaphore s_sem; struct list_head s_list; unsigned long s_blocknr; -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) dev_t s_dev; -#else - kdev_t s_dev; -#endif atomic_t s_refcnt; struct buffer_head *s_bh; wait_queue_head_t...
2004 Sep 04
0
[PATCH] remove ocfs_put_inode
...uper = ocfs_write_super, Index: src/inode.c =================================================================== --- src/inode.c (revision 1426) +++ src/inode.c (working copy) @@ -521,26 +521,6 @@ return status; } -/* - * ocfs_put_inode() - * - */ -void ocfs_put_inode (struct inode *inode) -{ - ocfs_super *osb; - - LOG_SET_CONTEXT(PUT_INODE); - - LOG_ENTRY_ARGS ("(0x%p, i_ino=%llu)\n", inode, OCFS_I(inode)->ip_blkno); - LOG_TRACE_ARGS ("put_inode: count=%d\n", atomic_read(&inode->i_count)); - osb = OCFS_SB(inode->i_sb); - LOG_EXIT (); - - LOG_CLEAR_CONTEXT(); - ret...