summaryrefslogtreecommitdiffstats
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorAl Viro2009-12-16 09:54:00 +0100
committerAl Viro2009-12-16 18:16:47 +0100
commit7715b521222b6ebb6e927fa261ed91ed687fe454 (patch)
tree33c6f8179d405974ed6763df331f731044c16072 /fs/file_table.c
parentima: call ima_inode_free ima_inode_free (diff)
downloadkernel-qcow2-linux-7715b521222b6ebb6e927fa261ed91ed687fe454.tar.gz
kernel-qcow2-linux-7715b521222b6ebb6e927fa261ed91ed687fe454.tar.xz
kernel-qcow2-linux-7715b521222b6ebb6e927fa261ed91ed687fe454.zip
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>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions