[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:
Alexey Dobriyan 2006-06-25 16:42:33 -07:00 committed by Linus Torvalds
parent 61b9175808
commit 1e788f8d1a
1 changed files with 2 additions and 1 deletions

View File

@ -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);