public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] befs i_flags thinko
@ 2004-05-14 16:07 Will Dyson
  2004-05-14 16:36 ` Jörn Engel
  0 siblings, 1 reply; 3+ messages in thread
From: Will Dyson @ 2004-05-14 16:07 UTC (permalink / raw)
  To: linux-kernel

This was caught by Jörn Engel <joern@wohnheim.fh-wedel.de> 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,


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-14 16:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-14 16:07 [PATCH] befs i_flags thinko Will Dyson
2004-05-14 16:36 ` Jörn Engel
2004-05-14 16:52   ` Will Dyson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox