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.stonybrook.edu/?a=commitdiff_plain;h=4b58332eadf31112e515c0bda75f2c308bcc8731;p=unionfs-3.8.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);