[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 06/21: ext2fs: Do not read translator record on Linux filesystems
From: |
Samuel Thibault |
Subject: |
[hurd] 06/21: ext2fs: Do not read translator record on Linux filesystems. |
Date: |
Sat, 04 Mar 2017 21:10:58 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit c8dac952e7ed2a761da2b061a339d97092e55c01
Author: Justus Winter <address@hidden>
Date: Mon Oct 3 18:47:43 2016 +0200
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.
---
ext2fs/inode.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/ext2fs/inode.c b/ext2fs/inode.c
index fef8930..5109953 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;
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] branch upstream updated (cef4f1d -> db7dd39), Samuel Thibault, 2017/03/04
- [hurd] 03/21: ext2fs: Fix typo., Samuel Thibault, 2017/03/04
- [hurd] 06/21: ext2fs: Do not read translator record on Linux filesystems.,
Samuel Thibault <=
- [hurd] 10/21: ext2fs: fix block reference, Samuel Thibault, 2017/03/04
- [hurd] 16/21: libshouldbeinlibc: Fix NDEBUG build., Samuel Thibault, 2017/03/04
- [hurd] 08/21: ext2fs: Fix block allocation., Samuel Thibault, 2017/03/04
- [hurd] 12/21: ext2fs: fix extended attribute retrieval, Samuel Thibault, 2017/03/04
- [hurd] 11/21: ext2fs: minor cleanup, Samuel Thibault, 2017/03/04
- [hurd] 15/21: Fix mig URL, Samuel Thibault, 2017/03/04
- [hurd] 19/21: boot: Fix failing device lookups in unprivileged mode., Samuel Thibault, 2017/03/04
- [hurd] 09/21: ext2fs: Fix potential block leak., Samuel Thibault, 2017/03/04
- [hurd] 14/21: Merge remote-tracking branch 'remotes/darnassus/ext2fs-xattrs', Samuel Thibault, 2017/03/04
- [hurd] 05/21: ext2fs: Fix block leak in xattr code., Samuel Thibault, 2017/03/04