Displaying 3 results from an estimated 3 matches for "ocfs2_check_dir_entry".
2007 Sep 19
1
[PATCH 06/15] ocfs2: Remove open coded readdir()
...letions(-)
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c
index dbfa6f6..a75c340 100644
--- a/fs/ocfs2/dir.c
+++ b/fs/ocfs2/dir.c
@@ -81,10 +81,10 @@ static int ocfs2_do_extend_dir(struct super_block *sb,
struct ocfs2_alloc_context *meta_ac,
struct buffer_head **new_bh);
-int ocfs2_check_dir_entry(struct inode * dir,
- struct ocfs2_dir_entry * de,
- struct buffer_head * bh,
- unsigned long offset)
+static int ocfs2_check_dir_entry(struct inode * dir,
+ struct ocfs2_dir_entry * de,
+ struct buffer_head * bh,
+ unsigned long offset)
{
const char *error_msg = NULL;...
2012 Jun 14
0
[ocfs2-announce] OCFS2 1.4.10-1 released
...2_readpage
ocfs2: Fix deadlock when allocating page
ocfs2: commit transactions in error cases
ocfs2: make direntry invalid when deleting it
ocfs2: Skip mount recovery for hard ro mounts
ocfs2: Initialize data_ac might be used uninitialize
ocfs2: Little refactoring against ocfs2_iget
ocfs2: optimize ocfs2_check_dir_entry with unlikely() annotations
ocfs2: Release buffer_head in case of error in ocfs2_double_lock
ocfs2: cluster Pin the remote node item in configfs
ocfs2: validate bg_free_bits_count after update
ocfs2: Use cpu_to_le16 for e_leaf_clusters in ocfs2_bg_discontig_add_extent
ocfs2: Initialize the bktcnt v...
2007 Feb 23
2
OCFS 1.2.4 memory problems still?
...However, twice
in that time, the cluster has gone down due to the kernel OOM killer
killing processes, and then ASR kicks in, and eventually reboots the
box.
I am also starting to notice some directory corruption, and errors like
this in /var/log/messages
Feb 18 04:14:37 cyber1 kernel: (23693,1):ocfs2_check_dir_entry:1703
ERROR: bad entry in directory #101726961: rec_len % 4 != 0 - offset=0,
inode=3484598105688391, rec_len=18, name_len=128
Sometimes I can't delete a directory, it will tell me its not empty,
even though it is.
What could this be? I was hoping that OCFS 1.2.4 would have fixed the
out of me...