~ubuntu-branches/ubuntu/saucy/linux-ti-omap4/saucy-proposed

« back to all changes in this revision

Viewing changes to fs/xfs/xfs_ialloc.c

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati, Stefan Bader, Upstream Kernel Changes
  • Date: 2012-08-15 17:17:43 UTC
  • Revision ID: package-import@ubuntu.com-20120815171743-h5wnuf51xe7pvdid
Tags: 3.5.0-207.13
[ Paolo Pisati ]

* Start new release

[ Stefan Bader ]

* (config) Enable getabis to use local package copies

[ Upstream Kernel Changes ]

* fixup: gargabe collect iva_seq[0|1] init
* [Config] enable all SND_OMAP_SOC_*s
* fixup: cm2xxx_3xxx.o is needed for omap2_cm_read|write_reg
* fixup: add some snd_soc_dai* helper functions
* fixup: s/snd_soc_dpcm_params/snd_soc_dpcm/g
* fixup: typo, no_host_mode and useless SDP4430 init
* fixup: enable again aess hwmod

Show diffs side-by-side

added added

removed removed

Lines of Context:
200
200
                 */
201
201
                d = XFS_AGB_TO_DADDR(mp, agno, agbno + (j * blks_per_cluster));
202
202
                fbuf = xfs_trans_get_buf(tp, mp->m_ddev_targp, d,
203
 
                                         mp->m_bsize * blks_per_cluster,
204
 
                                         XBF_LOCK);
 
203
                                         mp->m_bsize * blks_per_cluster, 0);
205
204
                if (!fbuf)
206
205
                        return ENOMEM;
207
206
                /*
610
609
/*
611
610
 * Visible inode allocation functions.
612
611
 */
 
612
/*
 
613
 * Find a free (set) bit in the inode bitmask.
 
614
 */
 
615
static inline int xfs_ialloc_find_free(xfs_inofree_t *fp)
 
616
{
 
617
        return xfs_lowbit64(*fp);
 
618
}
613
619
 
614
620
/*
615
621
 * Allocate an inode on disk.