summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glops.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-10-03 20:15:36 +0200
committerSteven Whitehouse <swhiteho@redhat.com>2014-10-08 09:57:07 +0100
commitd29c0afe4db72ceb72149c3894a6079674e9751f (patch)
tree8ee3de0ac0022ac91ed82bf2fef790a723dcd5fa /fs/gfs2/glops.c
parentd24e0569e046430832d32eb3ea231dc763782e4d (diff)
downloadop-kernel-dev-d29c0afe4db72ceb72149c3894a6079674e9751f.zip
op-kernel-dev-d29c0afe4db72ceb72149c3894a6079674e9751f.tar.gz
GFS2: use _RET_IP_ instead of (unsigned long)__builtin_return_address(0)
use macro definition Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/glops.c')
-rw-r--r--fs/gfs2/glops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/glops.c b/fs/gfs2/glops.c
index 2ffc67d..1cc0bba 100644
--- a/fs/gfs2/glops.c
+++ b/fs/gfs2/glops.c
@@ -93,7 +93,7 @@ static void gfs2_ail_empty_gl(struct gfs2_glock *gl)
* tr->alloced is not set since the transaction structure is
* on the stack */
tr.tr_reserved = 1 + gfs2_struct2blk(sdp, tr.tr_revokes, sizeof(u64));
- tr.tr_ip = (unsigned long)__builtin_return_address(0);
+ tr.tr_ip = _RET_IP_;
sb_start_intwrite(sdp->sd_vfs);
if (gfs2_log_reserve(sdp, tr.tr_reserved) < 0) {
sb_end_intwrite(sdp->sd_vfs);
OpenPOWER on IntegriCloud