2) setting inode->i_size is not SMP safe.
generic_file_read():
1924 if (pos > inode->i_size)
1925 inode->i_size = pos;
1926
Btw, does the POSIX standard make any guarantees about the atomicity of
sys_write()?
--
Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/