orangefs: Remove commented out code in find_cached_xattr
PATCH 1/1 orangefs: Remove commented out code in find_cached_xattr
The code has been commented out since 2017 - remove it.
Signed-off-by Thorsten Blum <[email protected]>
--- fs/orangefs/xattr.c | 5 ----- 1 file changed, 5 deletions(-)
fs/orangefs/xattr.c +0 -5
@@ -72,11 +72,6 @@ static struct orangefs_cached_xattr *find_cached_xattr(struct inode *inode,if (hlist_empty (h))return NULL ;hlist_for_each_entry_safe (cx, tmp, h, node) { -/* if (!time_before(jiffies, cx->timeout)) { -hlist_del(&cx->node); -kfree(cx); -continue; -}*/ if (!strcmp (cx->key, key))return cx; }
Signature · 2 lines
Thorsten Blum <[email protected]> GPG: 1D60 735E 8AEF 3BE4 73B6 9D84 7336 78FD 8DFE EAD4
Gentle ping or do you prefer to keep this for some reason?
Quoted 23 lines · Thorsten Blum
The code has been commented out since 2017 - remove it.
Signed-off-by Thorsten Blum <[email protected]>--- fs/orangefs/xattr.c | 5 ----- 1 file changed, 5 deletions(-)fs/orangefs/xattr.c +0
-5@@ -72,11 +72,6 @@ static struct orangefs_cached_xattr *find_cached_xattr(struct inode *inode,if (hlist_empty (h))return NULL ;hlist_for_each_entry_safe (cx, tmp, h, node) { -/* if (!time_before(jiffies, cx->timeout)) { -hlist_del(&cx->node); -kfree(cx); -continue; -}*/ if (!strcmp (cx->key, key))return cx; }
Mike Marshall
maintainerHey Thorsten...
I have clattered along through this development cycle without finishing the stuff I wanted to try and send up. I was going to put yours in there... I hope next time around is OK...
-Mike
Quoted 27 lines · Thorsten Blum
Gentle ping or do you prefer to keep this for some reason?
Quoted 23 lines · Thorsten Blum
The code has been commented out since 2017 - remove it.
Signed-off-by Thorsten Blum <[email protected]>--- fs/orangefs/xattr.c | 5 ----- 1 file changed, 5 deletions(-)fs/orangefs/xattr.c +0
-5@@ -72,11 +72,6 @@ static struct orangefs_cached_xattr *find_cached_xattr(struct inode *inode,if (hlist_empty (h))return NULL ;hlist_for_each_entry_safe (cx, tmp, h, node) { -/* if (!time_before(jiffies, cx->timeout)) { -hlist_del(&cx->node); -kfree(cx); -continue; -}*/ if (!strcmp (cx->key, key))return cx; }