X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fntfs%2Finode.c;h=e9da092e27723a91d5c2bc9bd60a1645b494ca00;hb=3c375c6f3a809d0d999d6dc933634f0b97ed7ae9;hp=b532a730cec2378072a20304fb85d07ed0d529f3;hpb=aba297927d1d558c7a94548135133bdf9172708a;p=linux-2.6 diff --git a/fs/ntfs/inode.c b/fs/ntfs/inode.c index b532a730ce..e9da092e27 100644 --- a/fs/ntfs/inode.c +++ b/fs/ntfs/inode.c @@ -34,7 +34,6 @@ #include "dir.h" #include "debug.h" #include "inode.h" -#include "attrib.h" #include "lcnalloc.h" #include "malloc.h" #include "mft.h" @@ -2500,8 +2499,6 @@ retry_truncate: /* Resize the attribute record to best fit the new attribute size. */ if (new_size < vol->mft_record_size && !ntfs_resident_attr_value_resize(m, a, new_size)) { - unsigned long flags; - /* The resize succeeded! */ flush_dcache_mft_record_page(ctx->ntfs_ino); mark_mft_record_dirty(ctx->ntfs_ino);