projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f24ff82
)
Unionfs: remove unused fgen in file_release
author
Erez Zadok
<ezk@cs.sunysb.edu>
Sat, 30 Apr 2011 05:33:58 +0000
(
01:33
-0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 12 Aug 2011 02:39:34 +0000
(22:39 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/commonfops.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/commonfops.c
b/fs/unionfs/commonfops.c
index 0f6cba3c8006f669fc400646e3ac824cfa0d7ce4..3bb7feb274f73ff1d33324ed1053b46502dd1d92 100644
(file)
--- 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);