]> git.wh0rd.org - dump.git/blob - linux-1.2.x.patch
Fixed the warn(ACL won't be dumped) message.
[dump.git] / linux-1.2.x.patch
1 --- fs/read_write.c.orig Sun Aug 27 15:41:29 1995
2 +++ fs/read_write.c Sun Aug 27 15:42:39 1995
3 @@ -112,9 +112,11 @@
4 }
5 if (tmp < 0)
6 return -EINVAL;
7 - file->f_pos = tmp;
8 - file->f_reada = 0;
9 - file->f_version = ++event;
10 + if (tmp != file->f_pos) {
11 + file->f_pos = tmp;
12 + file->f_reada = 0;
13 + file->f_version = ++event;
14 + }
15 memcpy_tofs(result, &file->f_pos, sizeof(loff_t));
16 return 0;
17 }