diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-10-03 20:15:36 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2014-10-08 10:57:07 +0200 |
commit | d29c0afe4db72ceb72149c3894a6079674e9751f (patch) | |
tree | 8ee3de0ac0022ac91ed82bf2fef790a723dcd5fa /fs/gfs2/trans.c | |
parent | GFS2: Use gfs2_rbm_incr in rgblk_free (diff) | |
download | linux-d29c0afe4db72ceb72149c3894a6079674e9751f.tar.xz linux-d29c0afe4db72ceb72149c3894a6079674e9751f.zip |
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/trans.c')
-rw-r--r-- | fs/gfs2/trans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/trans.c b/fs/gfs2/trans.c index 0546ab4e28e8..42bfd3361979 100644 --- 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; |