Searched hist:"7715 b521" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ |
H A D | namei.c | 7715b521 Wed Dec 16 02:54:00 CST 2009 Al Viro <viro@zeniv.linux.org.uk> O_TRUNC open shouldn't fail after file truncation
* take truncate logics into a helper (handle_truncate()) * rip it out of may_open() * call it from the only caller of may_open() that might pass O_TRUNC * and do that after we'd finished with opening.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> 7715b521 Wed Dec 16 02:54:00 CST 2009 Al Viro <viro@zeniv.linux.org.uk> O_TRUNC open shouldn't fail after file truncation * take truncate logics into a helper (handle_truncate()) * rip it out of may_open() * call it from the only caller of may_open() that might pass O_TRUNC * and do that after we'd finished with opening. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
|