commit | a8104a9fcdeb82e22d7acd55fca20746581067d3 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Jul 20 02:25:00 2012 +0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun Jul 29 21:24:15 2012 +0400 |
tree | 3036dae685f9b12a878dd02e439f0050114d7745 | |
parent | 8e4bfca1d1f0de62301dd223675717e7a5f63a27 [diff] |
pull mnt_want_write()/mnt_drop_write() into kern_path_create()/done_path_create() resp. One side effect - attempt to create a cross-device link on a read-only fs fails with EROFS instead of EXDEV now. Makes more sense, POSIX allows, etc. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>