commit-hurd
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]