[PATCH] xfs: update ->flush method proto
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Nathan Scott <nathans@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
61b9175808
commit
1e788f8d1a
|
@ -299,7 +299,8 @@ xfs_file_open(
|
||||||
|
|
||||||
STATIC int
|
STATIC int
|
||||||
xfs_file_close(
|
xfs_file_close(
|
||||||
struct file *filp)
|
struct file *filp,
|
||||||
|
fl_owner_t id)
|
||||||
{
|
{
|
||||||
return -bhv_vop_close(vn_from_inode(filp->f_dentry->d_inode), 0,
|
return -bhv_vop_close(vn_from_inode(filp->f_dentry->d_inode), 0,
|
||||||
file_count(filp) > 1 ? L_FALSE : L_TRUE, NULL);
|
file_count(filp) > 1 ? L_FALSE : L_TRUE, NULL);
|
||||||
|
|
Loading…
Reference in New Issue