diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-10-03 20:15:36 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2014-10-08 09:57:07 +0100 |
commit | d29c0afe4db72ceb72149c3894a6079674e9751f (patch) | |
tree | 8ee3de0ac0022ac91ed82bf2fef790a723dcd5fa /fs/gfs2/trans.c | |
parent | d24e0569e046430832d32eb3ea231dc763782e4d (diff) |
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 0546ab4e28e..42bfd336197 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; |