lkml.org 
[lkml]   [2003]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Fix typo in #ifdef for ext2 xattr support
From
Date
This patch corrects a typo in an ifdef that enables xattr operations for
special files in the ext2 code; otherwise, extended attributes cannot be
obtained or set on such inodes.

fs/ext2/namei.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.5/fs/ext2/namei.c
===================================================================
RCS file: /nfshome/pal/CVS/linux-2.5/fs/ext2/namei.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 namei.c
--- linux-2.5/fs/ext2/namei.c 11 Jul 2003 14:20:17 -0000 1.1.1.2
+++ linux-2.5/fs/ext2/namei.c 25 Aug 2003 16:57:27 -0000
@@ -143,7 +143,7 @@
int err = PTR_ERR(inode);
if (!IS_ERR(inode)) {
init_special_inode(inode, inode->i_mode, rdev);
-#ifdef CONFIG_EXT2_FS_EXT_ATTR
+#ifdef CONFIG_EXT2_FS_XATTR
inode->i_op = &ext2_special_inode_operations;
#endif
mark_inode_dirty(inode);

--
Stephen Smalley <sds@epoch.ncsc.mil>
National Security Agency

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

\
 
 \ /
  Last update: 2005-03-22 13:48    [from the cache]
©2003-2011 Jasper Spaans