From: Erez Zadok Date: Sat, 30 Apr 2011 05:33:58 +0000 (-0400) Subject: Unionfs: remove unused fgen in file_release X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=09ab84396bfdd0c80d8c445820a3bafe7a3d6008;p=unionfs-2.6.39.y.git Unionfs: remove unused fgen in file_release Signed-off-by: Erez Zadok --- 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);