diff options
author | Justus Winter <justus@gnupg.org> | 2016-10-03 18:47:43 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-01-06 20:36:09 +0100 |
commit | c8dac952e7ed2a761da2b061a339d97092e55c01 (patch) | |
tree | 4288b7ea384e015ddedc6d49d49051d05d0e3017 /ext2fs | |
parent | 08336418301f68c87e29e3735aa83cee1bc3c9b7 (diff) | |
download | hurd-c8dac952e7ed2a761da2b061a339d97092e55c01.tar.gz hurd-c8dac952e7ed2a761da2b061a339d97092e55c01.tar.bz2 hurd-c8dac952e7ed2a761da2b061a339d97092e55c01.zip |
ext2fs: Do not read translator record on Linux filesystems.
* ext2fs/inode.c (diskfs_user_read_node): Do not read translator
record on filesystems using Linux on-disk format. We pondered to use
this to introduce the feature, implementing it merely for Linux
filesystem.
Diffstat (limited to 'ext2fs')
-rw-r--r-- | ext2fs/inode.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c index fef89302..5109953f 100644 --- a/ext2fs/inode.c +++ b/ext2fs/inode.c @@ -187,11 +187,7 @@ diskfs_user_read_node (struct node *np, struct lookup_context *ctx) } else { - size_t datalen; st->st_mode = di->i_mode & ~S_ITRANS; - err = ext2_get_xattr (np, "gnu.translator", NULL, &datalen); - if (! err && datalen > 0) - st->st_mode |= S_IPTRANS; st->st_uid = di->i_uid; st->st_gid = di->i_gid; st->st_author = st->st_uid; |