aboutsummaryrefslogtreecommitdiffstats
path: root/target/ext2/genext2fs-1.4-nosquash.patch
blob: 236dfccdfd67482f8409c2813867d187645a200d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -ru genext2fs-1.4/genext2fs.c genext2fs-1.4-nosquash/genext2fs.c
--- genext2fs-1.4/genext2fs.c	2006-12-19 17:45:31.000000000 +0100
+++ genext2fs-1.4-nosquash/genext2fs.c	2007-02-09 10:47:05.000000000 +0100
@@ -1629,10 +1629,6 @@
 		mtime = st.st_mtime;
 		name = dent->d_name;
 		mode = get_mode(&st);
-		if(squash_uids)
-			uid = gid = 0;
-		if(squash_perms)
-			mode &= ~(FM_IRWXG | FM_IRWXO);
 		if(stats)
 			switch(st.st_mode & S_IFMT)
 			{