From 8241affe1386e5078398df0fe41de1545fe38d04 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Mon, 12 Feb 2007 00:51:45 -0800 Subject: [PATCH] --- yaml --- r: 47889 b: refs/heads/master c: 5c3bd438ccb94f5d5bf5d8711330e038dc8dd21b h: refs/heads/master i: 47887: 76f3dc132581416fac9e543342c18262689ccf0e v: v3 --- [refs] | 2 +- trunk/fs/ntfs/attrib.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index dc7256a09c27..8e66f12d2bab 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fdf892be32d84a1745fa0aee5fc60517421b8038 +refs/heads/master: 5c3bd438ccb94f5d5bf5d8711330e038dc8dd21b diff --git a/trunk/fs/ntfs/attrib.c b/trunk/fs/ntfs/attrib.c index c577d8e1bd95..7659cc192995 100644 --- a/trunk/fs/ntfs/attrib.c +++ b/trunk/fs/ntfs/attrib.c @@ -1921,7 +1921,7 @@ s64 ntfs_attr_extend_allocation(ntfs_inode *ni, s64 new_alloc_size, u32 attr_len = 0; /* Silence stupid gcc warning. */ bool mp_rebuilt; -#ifdef NTFS_DEBUG +#ifdef DEBUG read_lock_irqsave(&ni->size_lock, flags); allocated_size = ni->allocated_size; read_unlock_irqrestore(&ni->size_lock, flags);