Hello, On Tue 31-05-11 11:23:33, Sam Gandhi wrote: > I have seen some file systems like jffs2/ext4 etc setup the s_xattr > field in the superblock structure. > But there are files systems that do not initialize s_xattr field in > the superblock. Only filesystems that support extended attributes setup s_xattr. > Can someone kindly explain what functionality does s_xattr on super > block provides? What kinds of things file system wouldn't be able to > do if the superblock doesn't have this initialized? It tells VFS what callbacks to call when user tries to obtain/change extended attributes. If s_xattr is left at NULL, user will get EOPNOTSUPP or similar error... Honza -- Jan Kara <jack@xxxxxxx> SUSE Labs, CR -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html