From 09ab84396bfdd0c80d8c445820a3bafe7a3d6008 Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Sat, 30 Apr 2011 01:33:58 -0400 Subject: [PATCH] Unionfs: remove unused fgen in file_release Signed-off-by: Erez Zadok --- fs/unionfs/commonfops.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/unionfs/commonfops.c b/fs/unionfs/commonfops.c index 0f6cba3c800..3bb7feb274f 100644 --- a/fs/unionfs/commonfops.c +++ b/fs/unionfs/commonfops.c @@ -651,7 +651,7 @@ int unionfs_file_release(struct inode *inode, struct file *file) struct dentry *dentry = file->f_path.dentry; struct dentry *parent; int bindex, bstart, bend; - int fgen, err = 0; + int err = 0; /* * Since mm/memory.c:might_fault() (under PROVE_LOCKING) was @@ -687,7 +687,6 @@ int unionfs_file_release(struct inode *inode, struct file *file) inodeinfo = UNIONFS_I(inode); /* fput all the lower files */ - fgen = atomic_read(&fileinfo->generation); bstart = fbstart(file); bend = fbend(file); -- 2.34.1