search for: ocfs2_dcache_h

Displaying 2 results from an estimated 2 matches for "ocfs2_dcache_h".

2004 Jun 14
0
[PATCH] dcache.c polishing
...dif /* * ocfs_foreach_child() @@ -157,6 +141,4 @@ LOG_EXIT_INT (ret); return ret; -} /* ocfs_foreach_child */ - - +} Index: dcache.h =================================================================== --- dcache.h (revision 1091) +++ dcache.h (working copy) @@ -29,12 +29,8 @@ #ifndef OCFS2_DCACHE_H #define OCFS2_DCACHE_H -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) -int ocfs_dentry_revalidate(struct dentry *dentry, struct nameidata *nd); -#else -int ocfs_dentry_revalidate(struct dentry *dentry, int flags); -#endif -int ocfs_empty(struct dentry *dentry); +extern struct dentry_operati...
2009 Jul 20
1
[PATCH] ocfs2: flush dentry lock drop when sync ocfs2 volume.
....h b/fs/ocfs2/dcache.h index faa12e7..6dcf7cd 100644 --- a/fs/ocfs2/dcache.h +++ b/fs/ocfs2/dcache.h @@ -62,4 +62,5 @@ void ocfs2_dentry_move(struct dentry *dentry, struct dentry *target, extern spinlock_t dentry_attach_lock; +void ocfs2_flush_dl_inode_drop(struct ocfs2_super *osb); #endif /* OCFS2_DCACHE_H */ diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 2b4fd69..7e80fda 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c @@ -384,6 +384,13 @@ static int ocfs2_sync_fs(struct super_block *sb, int wait) if (ocfs2_is_hard_readonly(osb)) return -EROFS; + if (osb->dentry_lock_list) { +...