diff options
Diffstat (limited to 'fs/ntfs/quota.c')
-rw-r--r-- | fs/ntfs/quota.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/ntfs/quota.c b/fs/ntfs/quota.c index d0ef4182147b..d80e3315cab0 100644 --- a/fs/ntfs/quota.c +++ b/fs/ntfs/quota.c | |||
@@ -31,10 +31,10 @@ | |||
31 | * ntfs_mark_quotas_out_of_date - mark the quotas out of date on an ntfs volume | 31 | * ntfs_mark_quotas_out_of_date - mark the quotas out of date on an ntfs volume |
32 | * @vol: ntfs volume on which to mark the quotas out of date | 32 | * @vol: ntfs volume on which to mark the quotas out of date |
33 | * | 33 | * |
34 | * Mark the quotas out of date on the ntfs volume @vol and return TRUE on | 34 | * Mark the quotas out of date on the ntfs volume @vol and return 'true' on |
35 | * success and FALSE on error. | 35 | * success and 'false' on error. |
36 | */ | 36 | */ |
37 | BOOL ntfs_mark_quotas_out_of_date(ntfs_volume *vol) | 37 | bool ntfs_mark_quotas_out_of_date(ntfs_volume *vol) |
38 | { | 38 | { |
39 | ntfs_index_context *ictx; | 39 | ntfs_index_context *ictx; |
40 | QUOTA_CONTROL_ENTRY *qce; | 40 | QUOTA_CONTROL_ENTRY *qce; |
@@ -46,7 +46,7 @@ BOOL ntfs_mark_quotas_out_of_date(ntfs_volume *vol) | |||
46 | goto done; | 46 | goto done; |
47 | if (!vol->quota_ino || !vol->quota_q_ino) { | 47 | if (!vol->quota_ino || !vol->quota_q_ino) { |
48 | ntfs_error(vol->sb, "Quota inodes are not open."); | 48 | ntfs_error(vol->sb, "Quota inodes are not open."); |
49 | return FALSE; | 49 | return false; |
50 | } | 50 | } |
51 | mutex_lock(&vol->quota_q_ino->i_mutex); | 51 | mutex_lock(&vol->quota_q_ino->i_mutex); |
52 | ictx = ntfs_index_ctx_get(NTFS_I(vol->quota_q_ino)); | 52 | ictx = ntfs_index_ctx_get(NTFS_I(vol->quota_q_ino)); |
@@ -106,12 +106,12 @@ set_done: | |||
106 | NVolSetQuotaOutOfDate(vol); | 106 | NVolSetQuotaOutOfDate(vol); |
107 | done: | 107 | done: |
108 | ntfs_debug("Done."); | 108 | ntfs_debug("Done."); |
109 | return TRUE; | 109 | return true; |
110 | err_out: | 110 | err_out: |
111 | if (ictx) | 111 | if (ictx) |
112 | ntfs_index_ctx_put(ictx); | 112 | ntfs_index_ctx_put(ictx); |
113 | mutex_unlock(&vol->quota_q_ino->i_mutex); | 113 | mutex_unlock(&vol->quota_q_ino->i_mutex); |
114 | return FALSE; | 114 | return false; |
115 | } | 115 | } |
116 | 116 | ||
117 | #endif /* NTFS_RW */ | 117 | #endif /* NTFS_RW */ |