From: Andrew Morton Fix cachefs for vfs-add-lock-owner-argument-to-flush-operation.patch This is probably wrong. Who the heck came up with fl_owner_t? Why isn't it `struct files *'? Cc: Miklos Szeredi Cc: Trond Myklebust Cc: Al Viro Cc: David Howells Signed-off-by: Andrew Morton --- fs/cachefiles/cf-interface.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN fs/cachefiles/cf-interface.c~fs-cache-vs-vfs-add-lock-owner-argument-to-flush-operation fs/cachefiles/cf-interface.c --- devel/fs/cachefiles/cf-interface.c~fs-cache-vs-vfs-add-lock-owner-argument-to-flush-operation 2006-05-14 05:30:21.000000000 -0700 +++ devel-akpm/fs/cachefiles/cf-interface.c 2006-05-14 05:33:17.000000000 -0700 @@ -236,7 +236,8 @@ static void cachefiles_put_object(struct if (object->backer->f_op && object->backer->f_op->flush ) { - ret = object->backer->f_op->flush(object->backer); + ret = object->backer->f_op->flush(object->backer, + current->files); if (ret < 0) kerror("Backing file flush returned error %d", ret); _