diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-03-14 12:02:47 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-01 23:19:12 -0400 |
commit | 83f936c75e3689a63253d89c47a4d239c56d7410 (patch) | |
tree | 430d89096a9b56ffb8e80bd4febde39e1d05ad4c /Documentation/ABI/testing/sysfs-driver-hid-wiimote | |
parent | 0ccb286346c4c0644be17f04a9eb23ad99262882 (diff) | |
download | op-kernel-dev-83f936c75e3689a63253d89c47a4d239c56d7410.zip op-kernel-dev-83f936c75e3689a63253d89c47a4d239c56d7410.tar.gz |
mark struct file that had write access grabbed by open()
new flag in ->f_mode - FMODE_WRITER. Set by do_dentry_open() in case
when it has grabbed write access, checked by __fput() to decide whether
it wants to drop the sucker. Allows to stop bothering with mnt_clone_write()
in alloc_file(), along with fewer special_file() checks.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-driver-hid-wiimote')
0 files changed, 0 insertions, 0 deletions