[PATCH] befs i_flags thinko

From: Will Dyson
Date: Fri May 14 2004 - 11:10:04 EST


This was caught by JÃrn Engel <joern@xxxxxxxxxxxxxxxxxxxx> some time
ago. It is obviously correct. My public apologies to JÃrn for delaying
his patch.


linuxvfs.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)


--- linux-2.6.4/fs/befs/linuxvfs.c~ext23_inode_flags 2004-03-21 17:43:58.000000000 +0100
+++ linux-2.6.4/fs/befs/linuxvfs.c 2004-03-24 01:01:11.000000000 +0100
@@ -376,7 +376,7 @@
befs_ino->i_attribute = fsrun_to_cpu(sb, raw_inode->attributes);
befs_ino->i_flags = fs32_to_cpu(sb, raw_inode->flags);

- if (S_ISLNK(inode->i_mode) && !(inode->i_flags & BEFS_LONG_SYMLINK)) {
+ if (S_ISLNK(inode->i_mode) && !(befs_ino->i_flags & BEFS_LONG_SYMLINK)){
inode->i_size = 0;
inode->i_blocks = befs_sb->block_size / VFS_BLOCK_SIZE;
strncpy(befs_ino->i_data.symlink, raw_inode->data.symlink,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/