Module Name: src Committed By: joerg Date: Tue Dec 17 01:17:39 UTC 2013
Modified Files: src/sys/ufs/ffs: ffs_snapshot.c Log Message: ib_get is not used in the evbarm/OPENRD kernel, so mark it as such. To generate a diff of this commit: cvs rdiff -u -r1.131 -r1.132 src/sys/ufs/ffs/ffs_snapshot.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/ufs/ffs/ffs_snapshot.c diff -u src/sys/ufs/ffs/ffs_snapshot.c:1.131 src/sys/ufs/ffs/ffs_snapshot.c:1.132 --- src/sys/ufs/ffs/ffs_snapshot.c:1.131 Sat Oct 19 19:28:13 2013 +++ src/sys/ufs/ffs/ffs_snapshot.c Tue Dec 17 01:17:39 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: ffs_snapshot.c,v 1.131 2013/10/19 19:28:13 martin Exp $ */ +/* $NetBSD: ffs_snapshot.c,v 1.132 2013/12/17 01:17:39 joerg Exp $ */ /* * Copyright 2000 Marshall Kirk McKusick. All Rights Reserved. @@ -38,7 +38,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ffs_snapshot.c,v 1.131 2013/10/19 19:28:13 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ffs_snapshot.c,v 1.132 2013/12/17 01:17:39 joerg Exp $"); #if defined(_KERNEL_OPT) #include "opt_ffs.h" @@ -2297,7 +2297,7 @@ db_assign(struct inode *ip, int loc, dad ip->i_ffs2_db[loc] = ufs_rw64(val, UFS_IPNEEDSWAP(ip)); } -static inline daddr_t +__unused static inline daddr_t ib_get(struct inode *ip, int loc) { if (ip->i_ump->um_fstype == UFS1)