projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
GFS2: use _RET_IP_ instead of (unsigned long)__builtin_return_address(0)
[firefly-linux-kernel-4.4.55.git]
/
fs
/
gfs2
/
trans.c
diff --git
a/fs/gfs2/trans.c
b/fs/gfs2/trans.c
index 0546ab4e28e8a3dcbcef555f8574e068b531531c..42bfd33619793fb5bdda021ba9a7b9a027585e86 100644
(file)
--- a/
fs/gfs2/trans.c
+++ b/
fs/gfs2/trans.c
@@
-44,7
+44,7
@@
int gfs2_trans_begin(struct gfs2_sbd *sdp, unsigned int blocks,
if (!tr)
return -ENOMEM;
- tr->tr_ip =
(unsigned long)__builtin_return_address(0)
;
+ tr->tr_ip =
_RET_IP_
;
tr->tr_blocks = blocks;
tr->tr_revokes = revokes;
tr->tr_reserved = 1;