projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8f82a4
)
xfs: remove incorrect sparse annotation for xfs_iget_cache_miss
author
Christoph Hellwig
<hch@infradead.org>
Sat, 14 Nov 2009 16:17:23 +0000
(16:17 +0000)
committer
Alex Elder
<aelder@sgi.com>
Fri, 11 Dec 2009 21:11:23 +0000
(15:11 -0600)
xfs_iget_cache_miss does not get called with the pag_ici_lock held, so
the __releases annotation is incorrect.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_iget.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/xfs_iget.c
b/fs/xfs/xfs_iget.c
index cc72c561ff52d683263f292ca8d2b6237c007976..073bb4a26b194a8e1508c9b50f4363b444e84b54 100644
(file)
--- a/
fs/xfs/xfs_iget.c
+++ b/
fs/xfs/xfs_iget.c
@@
-293,7
+293,7
@@
xfs_iget_cache_miss(
struct xfs_inode **ipp,
xfs_daddr_t bno,
int flags,
- int lock_flags)
__releases(pag->pag_ici_lock)
+ int lock_flags)
{
struct xfs_inode *ip;
int error;