]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: implement inode_operations callback tmpfile
authorFilipe Manana <fdmanana@gmail.com>
Sun, 27 Apr 2014 19:40:45 +0000 (20:40 +0100)
committerChris Mason <clm@fb.com>
Tue, 10 Jun 2014 00:20:30 +0000 (17:20 -0700)
commit55b6b76ac47d90d154450ed990cd20f3629a16c5
tree8aeb9ff9803aa2060676c1817ca11f0015d1da1c
parent9483739429774cedf8cc6076787fb19498296395
Btrfs: implement inode_operations callback tmpfile

This implements the tmpfile callback of struct inode_operations, introduced
in the linux kernel 3.11, and implemented already by some filesystems. This
callback is invoked by the VFS when the flag O_TMPFILE is passed to the open
system call.

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Chris Mason <clm@fb.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
fs/btrfs/inode.c