diff options
| author | Patrick McHardy <kaber@trash.net> | 2011-04-13 07:32:28 -0400 |
|---|---|---|
| committer | Patrick McHardy <kaber@trash.net> | 2011-04-13 07:32:28 -0400 |
| commit | b32e3dc7860d00124fa432dba09667e647cb9bcc (patch) | |
| tree | 2fa6e56f389431dfb84609d3d7572cad76e88e71 /fs/xfs/xfs_trans_inode.c | |
| parent | 6604271c5bc658a6067ed0c3deba4d89e0e50382 (diff) | |
| parent | 96120d86fe302c006259baee9061eea9e1b9e486 (diff) | |
Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/kaber/nf-2.6
Diffstat (limited to 'fs/xfs/xfs_trans_inode.c')
| -rw-r--r-- | fs/xfs/xfs_trans_inode.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/fs/xfs/xfs_trans_inode.c b/fs/xfs/xfs_trans_inode.c index ccb34532768b..16084d8ea231 100644 --- a/fs/xfs/xfs_trans_inode.c +++ b/fs/xfs/xfs_trans_inode.c | |||
| @@ -44,28 +44,6 @@ xfs_trans_inode_broot_debug( | |||
| 44 | #endif | 44 | #endif |
| 45 | 45 | ||
| 46 | /* | 46 | /* |
| 47 | * Get an inode and join it to the transaction. | ||
| 48 | */ | ||
| 49 | int | ||
| 50 | xfs_trans_iget( | ||
| 51 | xfs_mount_t *mp, | ||
| 52 | xfs_trans_t *tp, | ||
| 53 | xfs_ino_t ino, | ||
| 54 | uint flags, | ||
| 55 | uint lock_flags, | ||
| 56 | xfs_inode_t **ipp) | ||
| 57 | { | ||
| 58 | int error; | ||
| 59 | |||
| 60 | error = xfs_iget(mp, tp, ino, flags, lock_flags, ipp); | ||
| 61 | if (!error && tp) { | ||
| 62 | xfs_trans_ijoin(tp, *ipp); | ||
| 63 | (*ipp)->i_itemp->ili_lock_flags = lock_flags; | ||
| 64 | } | ||
| 65 | return error; | ||
| 66 | } | ||
| 67 | |||
| 68 | /* | ||
| 69 | * Add a locked inode to the transaction. | 47 | * Add a locked inode to the transaction. |
| 70 | * | 48 | * |
| 71 | * The inode must be locked, and it cannot be associated with any transaction. | 49 | * The inode must be locked, and it cannot be associated with any transaction. |
