diff options
author | Justus Winter <justus@gnupg.org> | 2016-10-03 18:47:43 +0200 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2016-11-10 15:31:02 +0100 |
commit | 693f6a06ca7f9e293dc31f02793f66eedc3202a4 (patch) | |
tree | 9d3555f3d60680c4b997f4812814565f11449fcc /ext2fs/inode.c | |
parent | 329fa96fee612114d4df81b44589edc524c604a8 (diff) |
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/inode.c')
-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; |